nixosTests.certmgr: handleTest -> runTest

This commit is contained in:
Sizhe Zhao
2025-07-04 20:58:28 +08:00
parent 4db8ad5fa6
commit 4633acf70e
2 changed files with 3 additions and 8 deletions
+1 -1
View File
@@ -305,7 +305,7 @@ in
"aarch64-linux"
"x86_64-linux"
] ./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 { };
cgit = runTest ./cgit.nix;
charliecloud = runTest ./charliecloud.nix;
+2 -7
View File
@@ -1,10 +1,5 @@
{
system ? builtins.currentSystem,
config ? { },
pkgs ? import ../.. { inherit system config; },
}:
{ runTest, pkgs, ... }:
with import ../lib/testing-python.nix { inherit system pkgs; };
let
mkSpec =
{
@@ -63,7 +58,7 @@ let
specs,
testScript,
}:
makeTest {
runTest {
name = "certmgr-" + svcManager;
nodes = {
machine =