Merge pull request #47102 from xeji/p/test-atd

nixos/tests/atd: wait for atd to start
This commit is contained in:
Sarah Brofeldt 2018-09-21 10:09:28 +02:00 committed by GitHub
commit a4e9ab65f6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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