← Commit list

c273de193e

Daniel Stenberg
Daniel Stenberg
2025-11-27
SUCCESS Duration: 149s

Subject

test433: verify "Note: Read config file from..."

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/test2080+1 -0
@@ -3,6 +3,7 @@
<keywords>
FILE
config
+--config
</keywords>
</info>
tests/data/test433+13 -1
@@ -36,8 +36,12 @@ CURL_HOME
<name>
Verify XDG_CONFIG_HOME use to find curlrc
</name>
+# set the terminal wide to avoid word wrap in the message
+<setenv>
+COLUMNS=300
+</setenv>
<command option="no-q">
-%HOSTIP:%HTTPPORT/%TESTNUMBER
+%HOSTIP:%HTTPPORT/%TESTNUMBER --no-progress-meter
</command>
</client>
@@ -55,5 +59,13 @@ Content-Type: application/x-www-form-urlencoded
curlrc read
</protocol>
+
+# On Windows curl may use a backslash, convert that for the comparison
+<stripfile>
+s:\\:/:g
+</stripfile>
+<stderr mode="text">
+Note: Read config file from '%PWD/%LOGDIR/curlrc'
+</stderr>
</verify>
</testcase>