Skip to content

Commit

Permalink
tests.installer: rely on swap.target in tests
Browse files Browse the repository at this point in the history
fixes #5258
  • Loading branch information
globin committed Jan 25, 2017
1 parent 0f6eab5 commit b79fa22
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions nixos/tests/installer.nix
Expand Up @@ -115,8 +115,8 @@ let
# Did the swap device get activated?
# uncomment once https://bugs.freedesktop.org/show_bug.cgi?id=86930 is resolved
#$machine->waitForUnit("swap.target");
$machine->waitUntilSucceeds("cat /proc/swaps | grep -q /dev");
$machine->waitForUnit("swap.target");
$machine->succeed("cat /proc/swaps | grep -q /dev");
# Check whether the channel works.
$machine->succeed("nix-env -iA nixos.procps >&2");
Expand Down

0 comments on commit b79fa22

Please sign in to comment.