about summary refs log tree commit diff
path: root/tests
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2013-04-23T15·16+0200
committerEelco Dolstra <eelco.dolstra@logicblox.com>2013-04-23T15·16+0200
commitf9974f856ec8aff848b157da7dbe0415ec50ab8f (patch)
treea4134583fbc64052956763c11ae233730f9dffde /tests
parent6955d41f2be32c3bb857703c3e006e24d787d540 (diff)
Show that --timeout doesn't work if the build produces log output
Diffstat (limited to 'tests')
-rw-r--r--tests/timeout.builder.sh2
-rw-r--r--tests/timeout.nix2
2 files changed, 1 insertions, 3 deletions
diff --git a/tests/timeout.builder.sh b/tests/timeout.builder.sh
index 3e6e1fc0429a..5a7e08861002 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 dec258801e3f..b41368bb38e2 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;
 }