← Commit list

6f39c854c8

Viktor Szakats
Viktor Szakats
2026-07-26
SUCCESS Duration: 190s

Subject

runtests: fix `mode="warn"` tests passing unconditionally, fix test 1752

Binary

No binary (build failed)

Architecture & Compiler Flags

Architecture: x86_64-linux-gnu Compiler: gcc (Ubuntu 11.4.0-1ubuntu1~22.04.3) 11.4.0

—

Build Log

(log yok)

Commit Diff GitHub →

tests/data/test1712+4 -2
@@ -30,6 +30,9 @@ Funny-head: yesyes
<server>
http
</server>
+<setenv>
+COLUMNS=10000
+</setenv>
<name>
config file with argument using single quotes
</name>
@@ -54,8 +57,7 @@ Content-Type: application/x-www-form-urlencoded
'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>
tests/data/test433+1 -1
@@ -32,7 +32,7 @@ XDG_CONFIG_HOME=%PWD/%LOGDIR
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
tests/data/test459+4 -2
@@ -30,6 +30,9 @@ Funny-head: yesyes
<server>
http
</server>
+<setenv>
+COLUMNS=10000
+</setenv>
<name>
config file with argument using whitespace missing quotes
</name>
@@ -54,8 +57,7 @@ Content-Type: application/x-www-form-urlencoded
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>
tests/runtests.pl+0 -4
@@ -1372,10 +1372,6 @@ sub singletest_check {
s/\r//;
s/\n/ /;
}
- my $v = join(@validstderr, "");
- my $a = join(@actual, "");
- @validstderr = $v;
- @actual = $a;
}
if($hash{'nonewline'}) {