diff --git a/nixos/tests/all-tests.nix b/nixos/tests/all-tests.nix index 767da3a67b16..f6093eb7e14a 100644 --- a/nixos/tests/all-tests.nix +++ b/nixos/tests/all-tests.nix @@ -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" { diff --git a/nixos/tests/nixos-test-driver/skip-typecheck.nix b/nixos/tests/nixos-test-driver/skip-typecheck.nix new file mode 100644 index 000000000000..b36e4a819693 --- /dev/null +++ b/nixos/tests/nixos-test-driver/skip-typecheck.nix @@ -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() + ''; +}