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 97ccc4479f
Closes #12423
This commit is contained in:
Stefan Eissing 2023-11-28 12:53:46 +01:00 committed by Daniel Stenberg
parent e6bf2001c7
commit 39778f95fd
No known key found for this signature in database
GPG Key ID: 5CC908FDB71E12C2
2 changed files with 5 additions and 5 deletions

View 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)

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