From b08560fb0abcca6f2c704d1d0664e3cd17580172 Mon Sep 17 00:00:00 2001 From: xeji Date: Wed, 21 Mar 2018 00:58:41 +0100 Subject: nixos/tests/atd : remove test of batch command "batch" executes jobs based on system load. test was not deterministic. --- nixos/tests/atd.nix | 6 ------ 1 file changed, 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"); ''; }) -- cgit 1.4.1