Merge pull request #290507 from dotlambda/nextcloud-notify_push-meta
nextcloud-notify_push.test_client: add meta
This commit is contained in:
commit
0fac694dba
2 changed files with 5 additions and 1 deletions
|
@ -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 a new issue