mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-06 17:13:24 -05:00
nixos/tests/hibernate: Explicit systemdStage1 arg
This commit is contained in:
parent
ee5dd90859
commit
0f146213de
2 changed files with 4 additions and 2 deletions
|
|
@ -727,7 +727,9 @@ in
|
|||
# 9pnet_virtio used to mount /nix partition doesn't support
|
||||
# hibernation. This test happens to work on x86_64-linux but
|
||||
# not on other platforms.
|
||||
hibernate = handleTestOn [ "x86_64-linux" ] ./hibernate.nix { };
|
||||
hibernate = handleTestOn [ "x86_64-linux" ] ./hibernate.nix {
|
||||
systemdStage1 = false;
|
||||
};
|
||||
hibernate-systemd-stage-1 = handleTestOn [ "x86_64-linux" ] ./hibernate.nix {
|
||||
systemdStage1 = true;
|
||||
};
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@
|
|||
system ? builtins.currentSystem,
|
||||
config ? { },
|
||||
pkgs ? import ../.. { inherit system config; },
|
||||
systemdStage1 ? false,
|
||||
systemdStage1,
|
||||
}:
|
||||
|
||||
with import ../lib/testing-python.nix { inherit system pkgs; };
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue