nixosTests.certmgr: handleTest -> runTest

This commit is contained in:
Sizhe Zhao 2025-06-07 19:28:23 +08:00
parent 4db8ad5fa6
commit 4633acf70e
No known key found for this signature in database
GPG Key ID: ED1807251A7DA08F
2 changed files with 3 additions and 8 deletions

View File

@ -305,7 +305,7 @@ in
"aarch64-linux" "aarch64-linux"
"x86_64-linux" "x86_64-linux"
] ./ceph-single-node-bluestore-dmcrypt.nix; ] ./ceph-single-node-bluestore-dmcrypt.nix;
certmgr = handleTest ./certmgr.nix { }; certmgr = import ./certmgr.nix { inherit pkgs runTest; };
cfssl = handleTestOn [ "aarch64-linux" "x86_64-linux" ] ./cfssl.nix { }; cfssl = handleTestOn [ "aarch64-linux" "x86_64-linux" ] ./cfssl.nix { };
cgit = runTest ./cgit.nix; cgit = runTest ./cgit.nix;
charliecloud = runTest ./charliecloud.nix; charliecloud = runTest ./charliecloud.nix;

View File

@ -1,10 +1,5 @@
{ { runTest, pkgs, ... }:
system ? builtins.currentSystem,
config ? { },
pkgs ? import ../.. { inherit system config; },
}:
with import ../lib/testing-python.nix { inherit system pkgs; };
let let
mkSpec = mkSpec =
{ {
@ -63,7 +58,7 @@ let
specs, specs,
testScript, testScript,
}: }:
makeTest { runTest {
name = "certmgr-" + svcManager; name = "certmgr-" + svcManager;
nodes = { nodes = {
machine = machine =