diff options
-rw-r--r-- | ChangeLog | 3 | ||||
-rwxr-xr-x | tests/misc/printf-surprise | 2 |
2 files changed, 4 insertions, 1 deletions
@@ -1,5 +1,8 @@ 2007-11-01 Jim Meyering <meyering@redhat.com> + * tests/misc/printf-surprise: Correct sed transform. + Reported by Bob Proulx. + Add example inspired by "make dist" running gzip and lzma in sequence. * doc/coreutils.texi (tee invocation): Show how to run tar just once, compressing the tee'd output streams in parallel. 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 ;; |