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

Which was added in fc09a2da4a

Closes #19699
This commit is contained in:
Daniel Stenberg 2025-11-25 16:14:43 +01:00
parent 9ea6f2bc69
commit c273de193e
No known key found for this signature in database
GPG key ID: 5CC908FDB71E12C2
2 changed files with 14 additions and 1 deletions

View file

@ -3,6 +3,7 @@
<keywords>
FILE
config
--config
</keywords>
</info>

View file

@ -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>