diff options
author | Jim Meyering <meyering@redhat.com> | 2012-01-07 17:43:50 +0100 |
---|---|---|
committer | Jim Meyering <meyering@redhat.com> | 2012-01-09 21:50:08 +0100 |
commit | 50610144b02763f5dd5f6198ceceb88c27c393aa (patch) | |
tree | a1b26be1db751817c2b9a4eba7c2a1b18033c5aa /tests/misc/truncate-fail-diag | |
parent | 68a959262aefc5377f5a654d72e71dd42376183e (diff) | |
download | coreutils-50610144b02763f5dd5f6198ceceb88c27c393aa.tar.xz |
tests: adjust \`...' quoting to '...' to adapt to latest gnulib
Run this:
git grep -l "\\\\\`[^']*'" tests \
|xargs perl -pi -e 's/\\\`(.*?'\'')/'\''$1/g
Diffstat (limited to 'tests/misc/truncate-fail-diag')
-rwxr-xr-x | tests/misc/truncate-fail-diag | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/misc/truncate-fail-diag b/tests/misc/truncate-fail-diag index 7cc6a63d9..f9cdabf38 100755 --- a/tests/misc/truncate-fail-diag +++ b/tests/misc/truncate-fail-diag @@ -30,14 +30,14 @@ d1=no dir=$d1/such-dir truncate -s0 $dir > out 2>&1 && fail=1 cat <<EOF > exp -truncate: cannot open \`$dir' for writing: No such file or directory +truncate: cannot open '$dir' for writing: No such file or directory EOF compare exp out || fail=1 dir=$d1/ truncate -s0 $dir > out 2>&1 && fail=1 #The following can be returned at least -#truncate: cannot open \`$dir' for writing: Not a directory -#truncate: cannot open \`$dir' for writing: Is a directory +#truncate: cannot open '$dir' for writing: Not a directory +#truncate: cannot open '$dir' for writing: Is a directory Exit $fail |