We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents dfc3c2b + 134768c commit 4513f6bCopy full SHA for 4513f6b
t/test-lib.sh
@@ -163,8 +163,8 @@ parse_option () {
163
;;
164
--stress-jobs=*)
165
stress=t;
166
- stress=${opt#--*=}
167
- case "$stress" in
+ stress_jobs=${opt#--*=}
+ case "$stress_jobs" in
168
*[!0-9]*|0*|"")
169
echo "error: --stress-jobs=<N> requires the number of jobs to run" >&2
170
exit 1
@@ -262,9 +262,9 @@ then
262
: # Don't stress test again.
263
elif test -n "$stress"
264
then
265
- if test "$stress" != t
+ if test -n "$stress_jobs"
266
267
- job_count=$stress
+ job_count=$stress_jobs
268
elif test -n "$GIT_TEST_STRESS_LOAD"
269
270
job_count="$GIT_TEST_STRESS_LOAD"
0 commit comments