test1712: introduce mode=warn

Use the mode="warn" attribute if the output curl warning output, as it
then makes the check without newlines and the prefix to better handle
that the lines may wrap at different points depending on the lengths of
the lines and terminal width.
This commit is contained in:
Daniel Stenberg 2026-02-22 12:18:39 +01:00
parent 4c5a9208f5
commit f88bc5cc59
No known key found for this signature in database
GPG key ID: 5CC908FDB71E12C2
3 changed files with 15 additions and 2 deletions

View file

@ -53,7 +53,7 @@ Content-Type: application/x-www-form-urlencoded
'arg-with-quote'
</protocol>
<stderr mode="text">
<stderr mode="warn">
Warning: %LOGDIR/config:1 Option 'data' uses argument with leading single quote.%SP
Warning: It is probably a mistake. Consider double quotes.
</stderr>