forked from mirrors/nixpkgs
nixos/tests/atd: wait for atd to start
The test failed non-deterministically when an at command was issued before the atd daemon was running.
This commit is contained in:
parent
fab901ddd3
commit
8ffd65b12e
|
@ -16,6 +16,7 @@ import ./make-test.nix ({ pkgs, ... }:
|
|||
testScript = ''
|
||||
startAll;
|
||||
|
||||
$machine->waitForUnit('atd.service'); # wait for atd to start
|
||||
$machine->fail("test -f ~root/at-1");
|
||||
$machine->fail("test -f ~alice/at-1");
|
||||
|
||||
|
|
Loading…
Reference in a new issue