nixosTests.certmgr: handleTest -> runTest
This commit is contained in:
		
							parent
							
								
									4db8ad5fa6
								
							
						
					
					
						commit
						4633acf70e
					
				@ -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;
 | 
			
		||||
 | 
			
		||||
@ -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 =
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user