diff options
Diffstat (limited to 'tests/misc/printf-surprise')
-rwxr-xr-x | tests/misc/printf-surprise | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/misc/printf-surprise b/tests/misc/printf-surprise index 4e125864a..fe5458920 100755 --- a/tests/misc/printf-surprise +++ b/tests/misc/printf-surprise @@ -54,7 +54,7 @@ fail=0 # Map this longer, and rarer, diagnostic to the common one. # printf: cannot perform formatted output: Cannot allocate memory" \ -sed 's/cannot perform/write error/' err > k && mv k err +sed 's/cannot perform .*/write error/' err > k && mv k err case $(cat err) in "$prog: write error") diagnostic=y ;; '') diagnostic=n ;; |