Fix test 1712 to pass curl C by setting `COLUMNS` to the highest
accepted value, and adjust expected results. To avoid envs with varying
lengths of `LOGDIR` affect the outcome.
Apply the same fix to test 459, though it wasn't affected in curl CI.
Also sync up test 433 `COLUMNS` value with these two tests for
consistency.
Ref: #22381
Follow-up to
8e3a2a64d103a46508e17cde76595993de96ea6c #20666
Closes #22388
<server>
http
</server>
+<setenv>
+COLUMNS=10000
+</setenv>
<name>
config file with argument using single quotes
</name>
'arg-with-quote'
</protocol>
<stderr mode="warn">
-Warning: %LOGDIR/config:1 Option 'data' uses argument with leading single quote.%SP
-It is probably a mistake. Consider double quotes.
+Warning: %LOGDIR/config:1 Option 'data' uses argument with leading single quote. It is probably a mistake. Consider double quotes.
</stderr>
</verify>
</testcase>
HOME
CURL_HOME
# set the terminal wide to avoid word wrap in the message
-COLUMNS=300
+COLUMNS=10000
</setenv>
<name>
Verify XDG_CONFIG_HOME use to find curlrc
<server>
http
</server>
+<setenv>
+COLUMNS=10000
+</setenv>
<name>
config file with argument using whitespace missing quotes
</name>
arg
</protocol>
<stderr mode="warn">
-Warning: %LOGDIR/config:1 Option 'data' uses argument with unquoted whitespace.%SP
-Warning: This may cause side-effects. Consider double quotes.
+Warning: %LOGDIR/config:1 Option 'data' uses argument with unquoted whitespace. This may cause side-effects. Consider double quotes.
</stderr>
</verify>
</testcase>
s/\r//;
s/\n/ /;
}
- my $v = join(@validstderr, "");
- my $a = join(@actual, "");
- @validstderr = $v;
- @actual = $a;
}
if($hash{'nonewline'}) {