From 39778f95fd6dcdf3e64ea47cd4f7d59b5c8d20d9 Mon Sep 17 00:00:00 2001 From: Stefan Eissing Date: Tue, 28 Nov 2023 12:53:46 +0100 Subject: [PATCH] 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 --- src/tool_parsecfg.c | 6 +++--- tests/data/test459 | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) 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?