git.iko.soy/typeable/nixpkgs
on master help sign in
Merge pull request #37507 from xeji/p/test-atd

nixos/tests/atd : remove non-deterministic test of batch command

commit9f3718fe1d8d371ffe49e45b3946502aeb671c10 authorFranz Pletz <fpletz@fnordicwalking.de> dateWed 28 Mar 2018, 06:31 (9 years ago) parent8c76754b08560f
1 file changed−6
nixos/tests/atd.nix−6
nixos/tests/atd.nix−6
@@ -17,20 +17,14 @@ import ./make-test.nix ({ pkgs, lib, ... }:
1717 startAll;
1818
1919 $machine->fail("test -f ~root/at-1");
20− $machine->fail("test -f ~root/batch-1");
2120 $machine->fail("test -f ~alice/at-1");
22− $machine->fail("test -f ~alice/batch-1");
2321
2422 $machine->succeed("echo 'touch ~root/at-1' | at now+1min");
25− $machine->succeed("echo 'touch ~root/batch-1' | batch");
2623 $machine->succeed("su - alice -c \"echo 'touch at-1' | at now+1min\"");
27− $machine->succeed("su - alice -c \"echo 'touch batch-1' | batch\"");
2824
2925 $machine->succeed("sleep 1.5m");
3026
3127 $machine->succeed("test -f ~root/at-1");
32− $machine->succeed("test -f ~root/batch-1");
3328 $machine->succeed("test -f ~alice/at-1");
34− $machine->succeed("test -f ~alice/batch-1");
3529 '';
3630})