nextcloud-notify_push.test_client: add meta
This commit is contained in:
parent
40e7666189
commit
16e379fa03
@ -84,7 +84,7 @@ in {
|
|||||||
"${withRcloneEnv} ${copySharedFile}"
|
"${withRcloneEnv} ${copySharedFile}"
|
||||||
)
|
)
|
||||||
client.wait_for_unit("multi-user.target")
|
client.wait_for_unit("multi-user.target")
|
||||||
client.execute("${pkgs.nextcloud-notify_push.passthru.test_client}/bin/test_client http://nextcloud ${adminuser} ${adminpass} >&2 &")
|
client.execute("${pkgs.lib.getExe pkgs.nextcloud-notify_push.passthru.test_client} http://nextcloud ${adminuser} ${adminpass} >&2 &")
|
||||||
client.succeed(
|
client.succeed(
|
||||||
"${withRcloneEnv} ${diffSharedFile}"
|
"${withRcloneEnv} ${diffSharedFile}"
|
||||||
)
|
)
|
||||||
|
@ -25,6 +25,10 @@ rustPlatform.buildRustPackage rec {
|
|||||||
buildAndTestSubdir = "test_client";
|
buildAndTestSubdir = "test_client";
|
||||||
|
|
||||||
cargoHash = "sha256-OUALNd64rr2qXyRNV/O+pi+dE0HYogwlbWx5DCACzyk=";
|
cargoHash = "sha256-OUALNd64rr2qXyRNV/O+pi+dE0HYogwlbWx5DCACzyk=";
|
||||||
|
|
||||||
|
meta = meta // {
|
||||||
|
mainProgram = "test_client";
|
||||||
|
};
|
||||||
};
|
};
|
||||||
tests = {
|
tests = {
|
||||||
inherit (nixosTests.nextcloud)
|
inherit (nixosTests.nextcloud)
|
||||||
|
Loading…
Reference in New Issue
Block a user