From f9974f856ec8aff848b157da7dbe0415ec50ab8f Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Tue, 23 Apr 2013 17:16:29 +0200 Subject: [PATCH] Show that --timeout doesn't work if the build produces log output --- tests/timeout.builder.sh | 2 +- tests/timeout.nix | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/tests/timeout.builder.sh b/tests/timeout.builder.sh index 3e6e1fc04..5a7e08861 100644 --- a/tests/timeout.builder.sh +++ b/tests/timeout.builder.sh @@ -1,2 +1,2 @@ echo "\`timeout' builder entering an infinite loop" -while true ; do : ; done +while true ; do echo foo; sleep 1; done diff --git a/tests/timeout.nix b/tests/timeout.nix index dec258801..b41368bb3 100644 --- a/tests/timeout.nix +++ b/tests/timeout.nix @@ -3,6 +3,4 @@ with import ./config.nix; mkDerivation { name = "timeout"; builder = ./timeout.builder.sh; - PATH = ""; - goodPath = path; }