diff options
-rwxr-xr-x | tests/runtests.pl | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/runtests.pl b/tests/runtests.pl index 6503bf779..f9172007b 100755 --- a/tests/runtests.pl +++ b/tests/runtests.pl @@ -3909,7 +3909,8 @@ sub singletest { if((!$cmdhash{'option'}) || ($cmdhash{'option'} !~ /no-output/)) { #We may slap on --output! - if (!@validstdout || $cmdhash{'option'} =~ /force-output/) { + if (!@validstdout || + ($cmdhash{'option'} && $cmdhash{'option'} =~ /force-output/)) { $out=" --output $CURLOUT "; } } |