mirror of
https://github.com/curl/curl.git
synced 2026-08-25 09:03:32 +03:00
tests: add -q as first option when invoking curl for tests
To reduce the risk that the user running the tests has a .curlrc present that messes things up. Support 'option="no-q"' for the <command> tag to switch it off on demand. Use this new feature in test 433 and 436. Ref: #13284 Closes #13387
This commit is contained in:
parent
d28f74913c
commit
f7cc9e9177
4 changed files with 9 additions and 3 deletions
|
|
@ -920,6 +920,9 @@ sub singletest_run {
|
|||
|
||||
if(!$tool) {
|
||||
$CMDLINE=shell_quote($CURL);
|
||||
if($cmdhash{'option'} !~ /no-q/) {
|
||||
$CMDLINE .= " -q";
|
||||
}
|
||||
}
|
||||
|
||||
if(use_valgrind() && !$disablevalgrind) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue