diff options
author | xeji <xeji@cat3.de> | 2018-03-21 00:58:41 +0100 |
---|---|---|
committer | xeji <xeji@cat3.de> | 2018-03-21 00:58:41 +0100 |
commit | b08560fb0abcca6f2c704d1d0664e3cd17580172 (patch) | |
tree | 00ebd8b029ecd90931fd01219e48a23a176db480 /nixos/tests | |
parent | 1c810f5f834e5356be5dea9ae032348dc56fe196 (diff) |
nixos/tests/atd : remove test of batch command
"batch" executes jobs based on system load.
test was not deterministic.
Diffstat (limited to 'nixos/tests')
-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 c2c0a716e0de..5260c8ddfb82 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"); ''; }) |