]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
test459: fix for parallel runs
authorStefan Eissing <stefan@eissing.org>
Tue, 28 Nov 2023 11:53:46 +0000 (12:53 +0100)
committerDaniel Stenberg <daniel@haxx.se>
Tue, 28 Nov 2023 13:23:06 +0000 (14:23 +0100)
- change warniing message to work better with varying filename
  length.
- adapt test output check to new formatting

Follow-up to 97ccc4479f77ba3191c6
Closes #12423

src/tool_parsecfg.c
tests/data/test459

index dcc164c7a9602ecf8137d14a1c1109ce9b7e0679..da48700663ef5f7a16414c27322af05c538c1c94 100644 (file)
@@ -210,9 +210,9 @@ int parseconfig(const char *filename, struct GlobalConfig *global)
             break;
           default:
             warnf(operation->global, "%s:%d: warning: '%s' uses unquoted "
-                  "whitespace that may cause side-effects. Consider quoting "
-                  "the value with double quotes?",
-                  filename, lineno, option);
+                  "whitespace", filename, lineno, option);
+            warnf(operation->global, "This may cause side-effects. "
+                  "Consider using double quotes?");
           }
         }
         if(!*param)
index 9fe135f7949e7079c1b04c2b68b0bba1386b5427..e46d029732cd5b0e563c59b86352de411d72b3e0 100644 (file)
@@ -56,8 +56,8 @@ Content-Type: application/x-www-form-urlencoded
 arg
 </protocol>
 <stderr mode="text">
-Warning: log/config:1: warning: 'data' uses unquoted whitespace that may cause 
-Warning: side-effects. Consider quoting the value with double quotes?
+Warning: %LOGDIR/config:1: warning: 'data' uses unquoted whitespace
+Warning: This may cause side-effects. Consider using double quotes?
 </stderr>
 </verify>
 </testcase>