summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorJim Meyering <meyering@redhat.com>2007-11-01 23:39:41 +0100
committerJim Meyering <meyering@redhat.com>2007-11-01 23:40:21 +0100
commit3e3f8f0161645a7ca3730f1e8307ab7011b8c6f8 (patch)
treea7388f417c9372fe152f50be52fe3d3d04304b57 /tests
parentc70fc8d87b52e932013e992fb2700fedd53d2170 (diff)
downloadcoreutils-3e3f8f0161645a7ca3730f1e8307ab7011b8c6f8.tar.xz
tests/misc/printf-surprise: Correct sed transform.
Reported by Bob Proulx.
Diffstat (limited to 'tests')
-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 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 ;;