summaryrefslogtreecommitdiff
path: root/t/test-lib.sh
diff options
context:
space:
mode:
authorJohannes Schindelin <johannes.schindelin@gmx.de>2019-03-03 14:44:54 (GMT)
committerJunio C Hamano <gitster@pobox.com>2019-03-04 03:25:22 (GMT)
commitde69e6f6c98e92f89b4fdbb91087e85f4af7afab (patch)
tree4545923d029e46e1062f24e78b24ace80bbc1062 /t/test-lib.sh
parent8104ec994ea3849a968b4667d072fedd1e688642 (diff)
downloadgit-de69e6f6c98e92f89b4fdbb91087e85f4af7afab.zip
git-de69e6f6c98e92f89b4fdbb91087e85f4af7afab.tar.gz
git-de69e6f6c98e92f89b4fdbb91087e85f4af7afab.tar.bz2
tests: let --stress-limit=<N> imply --stress
It does not make much sense that running a test with --stress-limit=<N> seemingly ignores that option because it does not stress test at all. Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/test-lib.sh')
-rw-r--r--t/test-lib.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/t/test-lib.sh b/t/test-lib.sh
index 8665b0a..8553c1f 100644
--- a/t/test-lib.sh
+++ b/t/test-lib.sh
@@ -158,6 +158,7 @@ do
esac
;;
--stress-limit=*)
+ stress=t;
stress_limit=${opt#--*=}
case "$stress_limit" in
*[!0-9]*|0*|"")