diff options
author | Konrad Borowski <konrad@borowski.pw> | 2020-03-26 14:33:57 +0100 |
---|---|---|
committer | Konrad Borowski <konrad@borowski.pw> | 2020-03-28 09:31:36 +0100 |
commit | d85fb28414502e6c4f2618ea50abe4c9b7b0fdd0 (patch) | |
tree | 6f413a24cfe43978a5b1b7417fc026eb9a0cded6 /nixos | |
parent | e71419b11cced2639b56402a1017a787c0164e2e (diff) |
nixos/tests/hibernate: disable for platforms other than x86_64
Due to 9pnet_virtio bugs, /nix is no longer available after hibernation. It happens to work on x86_64, but not on other platforms.
Diffstat (limited to 'nixos')
-rw-r--r-- | nixos/tests/all-tests.nix | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/nixos/tests/all-tests.nix b/nixos/tests/all-tests.nix index 51b463747b0e7..7c0550dfa090b 100644 --- a/nixos/tests/all-tests.nix +++ b/nixos/tests/all-tests.nix @@ -120,7 +120,10 @@ in handbrake = handleTestOn ["x86_64-linux"] ./handbrake.nix {}; haproxy = handleTest ./haproxy.nix {}; hardened = handleTest ./hardened.nix {}; - hibernate = handleTest ./hibernate.nix {}; + # 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 {}; hitch = handleTest ./hitch {}; hocker-fetchdocker = handleTest ./hocker-fetchdocker {}; home-assistant = handleTest ./home-assistant.nix {}; |