nixosTests.nixos-test-driver.skip-typecheck: init
Simple regression test for https://github.com/NixOS/nixpkgs/pull/511225
This commit is contained in:
@@ -152,6 +152,7 @@ in
|
||||
ssh-backdoor = runTestOn [ "x86_64-linux" ] ./nixos-test-driver/ssh-backdoor.nix;
|
||||
console-log = runTest ./nixos-test-driver/console-log.nix;
|
||||
containers = runTest ./nixos-test-driver/containers.nix;
|
||||
skip-typecheck = runTest ./nixos-test-driver/skip-typecheck.nix;
|
||||
driver-timeout =
|
||||
pkgs.runCommand "ensure-timeout-induced-failure"
|
||||
{
|
||||
|
||||
@@ -0,0 +1,21 @@
|
||||
/**
|
||||
nixosTests.simple, but with skipTypeCheck.
|
||||
This catches regressions in the wiring, e.g.
|
||||
https://github.com/NixOS/nixpkgs/pull/511225
|
||||
*/
|
||||
{
|
||||
name = "skip-typecheck";
|
||||
meta = {
|
||||
maintainers = [ ];
|
||||
};
|
||||
|
||||
skipTypeCheck = true;
|
||||
|
||||
nodes.machine = { };
|
||||
|
||||
testScript = ''
|
||||
start_all()
|
||||
machine.wait_for_unit("multi-user.target")
|
||||
machine.shutdown()
|
||||
'';
|
||||
}
|
||||
Reference in New Issue
Block a user