From: Stefan Eissing Date: Tue, 28 Nov 2023 11:53:46 +0000 (+0100) Subject: test459: fix for parallel runs X-Git-Tag: curl-8_5_0~32 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=39778f95fd6dcdf3e64ea47cd4f7d59b5c8d20d9;p=thirdparty%2Fcurl.git test459: fix for parallel runs - change warniing message to work better with varying filename length. - adapt test output check to new formatting Follow-up to 97ccc4479f77ba3191c6 Closes #12423 --- diff --git a/src/tool_parsecfg.c b/src/tool_parsecfg.c index dcc164c7a9..da48700663 100644 --- a/src/tool_parsecfg.c +++ b/src/tool_parsecfg.c @@ -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) diff --git a/tests/data/test459 b/tests/data/test459 index 9fe135f794..e46d029732 100644 --- a/tests/data/test459 +++ b/tests/data/test459 @@ -56,8 +56,8 @@ Content-Type: application/x-www-form-urlencoded arg -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?