about summary refs log tree commit diff
path: root/tests/timeout.sh
diff options
context:
space:
mode:
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 d3d85200fa51..39ecf0a1a30c 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