git.iko.soy/typeable/nixpkgs
on master help sign in
tests.installer: rely on swap.target in tests

fixes #5258

commitb79fa22b7ab65089bf9a28e15b582b0480d3ee99 authorRobin Gloster <mail@glob.in> dateWed 25 Jan 2017, 16:55 (10 years ago) parent0f6eab5
1 file changed+2−2
nixos/tests/installer.nix+2−2
nixos/tests/installer.nix+2−2
@@ -115,8 +115,8 @@ let
115115
116116 # Did the swap device get activated?
117117 # uncomment once https://bugs.freedesktop.org/show_bug.cgi?id=86930 is resolved
118− #$machine->waitForUnit("swap.target");
119− $machine->waitUntilSucceeds("cat /proc/swaps | grep -q /dev");
118+ $machine->waitForUnit("swap.target");
119+ $machine->succeed("cat /proc/swaps | grep -q /dev");
120120
121121 # Check whether the channel works.
122122 $machine->succeed("nix-env -iA nixos.procps >&2");