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
1 changed files with 1 additions and 0 deletions
|
@ -16,6 +16,7 @@ import ./make-test.nix ({ pkgs, ... }:
|
||||||
testScript = ''
|
testScript = ''
|
||||||
startAll;
|
startAll;
|
||||||
|
|
||||||
|
$machine->waitForUnit('atd.service'); # wait for atd to start
|
||||||
$machine->fail("test -f ~root/at-1");
|
$machine->fail("test -f ~root/at-1");
|
||||||
$machine->fail("test -f ~alice/at-1");
|
$machine->fail("test -f ~alice/at-1");
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue