about summary refs log tree commit diff
path: root/tests/timeout.sh
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2017-11-20T16·50+0100
committerEelco Dolstra <edolstra@gmail.com>2017-11-20T16·50+0100
commit193330d321d3e394d1ce01c7e1dbea28ace68323 (patch)
tree5c021a494330341cbdde6e810a3b836c3187a88a /tests/timeout.sh
parent91a19876073a2ed8fef2139fba906cfac1e96f83 (diff)
Test: Replace --option with the corresponding flag
Diffstat (limited to 'tests/timeout.sh')
-rw-r--r--tests/timeout.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/timeout.sh b/tests/timeout.sh
index d3d85200fa..39ecf0a1a3 100644
--- a/tests/timeout.sh
+++ b/tests/timeout.sh
@@ -15,7 +15,7 @@ if ! echo "$messages" | grep -q "timed out"; then
     exit 1
 fi
 
-if nix-build -Q timeout.nix -A infiniteLoop --option max-build-log-size 100; then
+if nix-build -Q timeout.nix -A infiniteLoop --max-build-log-size 100; then
     echo "build should have failed"
     exit 1
 fi