summary refs log tree commit diff
path: root/nixos/tests/all-tests.nix
diff options
context:
space:
mode:
authorKonrad Borowski <konrad@borowski.pw>2020-03-26 14:33:57 +0100
committerKonrad Borowski <konrad@borowski.pw>2020-03-28 09:31:36 +0100
commitd85fb28414502e6c4f2618ea50abe4c9b7b0fdd0 (patch)
tree6f413a24cfe43978a5b1b7417fc026eb9a0cded6 /nixos/tests/all-tests.nix
parente71419b11cced2639b56402a1017a787c0164e2e (diff)
downloadnixpkgs-d85fb28414502e6c4f2618ea50abe4c9b7b0fdd0.tar
nixpkgs-d85fb28414502e6c4f2618ea50abe4c9b7b0fdd0.tar.gz
nixpkgs-d85fb28414502e6c4f2618ea50abe4c9b7b0fdd0.tar.bz2
nixpkgs-d85fb28414502e6c4f2618ea50abe4c9b7b0fdd0.tar.lz
nixpkgs-d85fb28414502e6c4f2618ea50abe4c9b7b0fdd0.tar.xz
nixpkgs-d85fb28414502e6c4f2618ea50abe4c9b7b0fdd0.tar.zst
nixpkgs-d85fb28414502e6c4f2618ea50abe4c9b7b0fdd0.zip
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/tests/all-tests.nix')
-rw-r--r--nixos/tests/all-tests.nix5
1 files changed, 4 insertions, 1 deletions
diff --git a/nixos/tests/all-tests.nix b/nixos/tests/all-tests.nix
index 51b463747b0..7c0550dfa09 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 {};