diff options
author | Franz Pletz <fpletz@fnordicwalking.de> | 2018-03-28 06:31:50 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-03-28 06:31:50 +0000 |
commit | 9f3718fe1d8d371ffe49e45b3946502aeb671c10 (patch) | |
tree | 0eaaeec186eff176f790764ae860d247528e162c /nixos | |
parent | 8c76754f51e06ff1f3cb815b7b7a1ea02a08ab73 (diff) | |
parent | b08560fb0abcca6f2c704d1d0664e3cd17580172 (diff) | |
download | nixpkgs-9f3718fe1d8d371ffe49e45b3946502aeb671c10.tar nixpkgs-9f3718fe1d8d371ffe49e45b3946502aeb671c10.tar.gz nixpkgs-9f3718fe1d8d371ffe49e45b3946502aeb671c10.tar.bz2 nixpkgs-9f3718fe1d8d371ffe49e45b3946502aeb671c10.tar.lz nixpkgs-9f3718fe1d8d371ffe49e45b3946502aeb671c10.tar.xz nixpkgs-9f3718fe1d8d371ffe49e45b3946502aeb671c10.tar.zst nixpkgs-9f3718fe1d8d371ffe49e45b3946502aeb671c10.zip |
Merge pull request #37507 from xeji/p/test-atd
nixos/tests/atd : remove non-deterministic test of batch command
Diffstat (limited to 'nixos')
-rw-r--r-- | nixos/tests/atd.nix | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/nixos/tests/atd.nix b/nixos/tests/atd.nix index c2c0a716e0d..5260c8ddfb8 100644 --- a/nixos/tests/atd.nix +++ b/nixos/tests/atd.nix @@ -17,20 +17,14 @@ import ./make-test.nix ({ pkgs, lib, ... }: startAll; $machine->fail("test -f ~root/at-1"); - $machine->fail("test -f ~root/batch-1"); $machine->fail("test -f ~alice/at-1"); - $machine->fail("test -f ~alice/batch-1"); $machine->succeed("echo 'touch ~root/at-1' | at now+1min"); - $machine->succeed("echo 'touch ~root/batch-1' | batch"); $machine->succeed("su - alice -c \"echo 'touch at-1' | at now+1min\""); - $machine->succeed("su - alice -c \"echo 'touch batch-1' | batch\""); $machine->succeed("sleep 1.5m"); $machine->succeed("test -f ~root/at-1"); - $machine->succeed("test -f ~root/batch-1"); $machine->succeed("test -f ~alice/at-1"); - $machine->succeed("test -f ~alice/batch-1"); ''; }) |