aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorRob Landley <rob@landley.net>2020-06-27 03:14:49 -0500
committerRob Landley <rob@landley.net>2020-06-27 03:14:49 -0500
commitc0dca293c1301a6315684703706597db07a8dbe1 (patch)
tree42e3db41089fc1efe83b828f356c12beaa05291c /tests
parent9e0242634766e2e3bbedc620ab78d90f29e1e6b0 (diff)
downloadtoybox-c0dca293c1301a6315684703706597db07a8dbe1.tar.gz
The bionic/clang asan plumbing slows the test down >10x, so expand timeout.
Diffstat (limited to 'tests')
-rwxr-xr-xtests/sed.test3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/sed.test b/tests/sed.test
index 67de46b2..beb11d5c 100755
--- a/tests/sed.test
+++ b/tests/sed.test
@@ -187,7 +187,8 @@ testing '\n too high' \
# Performance test
X=x; Y=20; while [ $Y -gt 0 ]; do X=$X$X; Y=$(($Y-1)); done
-testing 'megabyte s/x/y/g (5 sec timeout)' "timeout 5 sed 's/x/y/g' | sha1sum" \
+testing 'megabyte s/x/y/g (20 sec timeout)' \
+ "timeout 20 sed 's/x/y/g' | sha1sum" \
'138c1fa7c3f64186203b0192fb4abdb33cb4e98a -\n' '' "$X\n"
unset X Y