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:
Uli Baum 2018-09-21 09:22:03 +02:00
parent fab901ddd3
commit 8ffd65b12e

View File

@ -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");