]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
tests/misc/printf-surprise: Correct sed transform.
authorJim Meyering <meyering@redhat.com>
Thu, 1 Nov 2007 22:39:41 +0000 (23:39 +0100)
committerJim Meyering <meyering@redhat.com>
Thu, 1 Nov 2007 22:40:21 +0000 (23:40 +0100)
Reported by Bob Proulx.

ChangeLog
tests/misc/printf-surprise

index 01e322a56c1dba1ede55ebf512df50f54f6be1e1..052e13c166e64b9c51303524be8a7802c3d6ac0b 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -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.
index 4e125864ac7514fe1e871ebc15bdb2a5de0347c9..fe5458920854cc8358709384ded438be8bf6b177 100755 (executable)
@@ -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 ;;