summaryrefslogtreecommitdiff
path: root/tests/misc/printf-surprise
diff options
context:
space:
mode:
Diffstat (limited to 'tests/misc/printf-surprise')
-rwxr-xr-xtests/misc/printf-surprise2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/misc/printf-surprise b/tests/misc/printf-surprise
index ca0f8e4b8..8c993fdb1 100755
--- a/tests/misc/printf-surprise
+++ b/tests/misc/printf-surprise
@@ -67,7 +67,7 @@ err_msg=$(cat err-msg|tr '\n' :)
# containing '1> fifo:printf: write error:'. Recognize that, too.
case $err_msg in
- "$prog: write error:") diagnostic=y ;;
+ "$prog: write error:"*) diagnostic=y ;;
"1> fifo:$prog: write error:") diagnostic=y ;;
'') diagnostic=n ;;
*) diagnostic=unexpected ;;