diff options
author | Jim Meyering <meyering@redhat.com> | 2007-11-01 23:39:41 +0100 |
---|---|---|
committer | Jim Meyering <meyering@redhat.com> | 2007-11-01 23:40:21 +0100 |
commit | 3e3f8f0161645a7ca3730f1e8307ab7011b8c6f8 (patch) | |
tree | a7388f417c9372fe152f50be52fe3d3d04304b57 /tests/misc/printf-surprise | |
parent | c70fc8d87b52e932013e992fb2700fedd53d2170 (diff) | |
download | coreutils-3e3f8f0161645a7ca3730f1e8307ab7011b8c6f8.tar.xz |
tests/misc/printf-surprise: Correct sed transform.
Reported by Bob Proulx.
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 ;; |