Merge pull request #290507 from dotlambda/nextcloud-notify_push-meta

nextcloud-notify_push.test_client: add meta
This commit is contained in:
Maximilian Bosch 2024-02-22 17:28:11 +01:00 committed by GitHub
commit 0fac694dba
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 5 additions and 1 deletions

View file

@ -84,7 +84,7 @@ in {
"${withRcloneEnv} ${copySharedFile}"
)
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(
"${withRcloneEnv} ${diffSharedFile}"
)

View file

@ -25,6 +25,10 @@ rustPlatform.buildRustPackage rec {
buildAndTestSubdir = "test_client";
cargoHash = "sha256-OUALNd64rr2qXyRNV/O+pi+dE0HYogwlbWx5DCACzyk=";
meta = meta // {
mainProgram = "test_client";
};
};
tests = {
inherit (nixosTests.nextcloud)