0
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-07-13 21:50:33 +03:00

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"
"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;

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 =