nixosTests.nixos-test-driver.skip-typecheck: init

Simple regression test for https://github.com/NixOS/nixpkgs/pull/511225
This commit is contained in:
Robert Hensing
2026-04-19 16:35:40 +01:00
parent abb1a55789
commit 7d7a9f2257
2 changed files with 22 additions and 0 deletions
+1
View File
@@ -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()
'';
}