runtests: allow %EMPTY in <stdout> to verify no output

This commit is contained in:
Daniel Stenberg 2026-04-21 17:15:05 +02:00
parent ad1fcd6111
commit 779bba2f3f
No known key found for this signature in database
GPG key ID: 5CC908FDB71E12C2
2 changed files with 5 additions and 0 deletions

View file

@ -1273,6 +1273,8 @@ sub singletest_check {
}
if(@validstdout) {
$validstdout[0] =~ s/^%EMPTY[\r\n]*//;
# verify redirected stdout
my @actual = loadarray(stdoutfilename($logdir, $testnum));