summaryrefslogtreecommitdiff
path: root/tests/cp
diff options
context:
space:
mode:
authorJim Meyering <meyering@redhat.com>2012-01-07 17:43:50 +0100
committerJim Meyering <meyering@redhat.com>2012-01-09 21:50:08 +0100
commit50610144b02763f5dd5f6198ceceb88c27c393aa (patch)
treea1b26be1db751817c2b9a4eba7c2a1b18033c5aa /tests/cp
parent68a959262aefc5377f5a654d72e71dd42376183e (diff)
downloadcoreutils-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/cp')
-rwxr-xr-xtests/cp/abuse2
-rwxr-xr-xtests/cp/cp-i2
-rwxr-xr-xtests/cp/thru-dangling2
3 files changed, 3 insertions, 3 deletions
diff --git a/tests/cp/abuse b/tests/cp/abuse
index e569222bc..6338e1f57 100755
--- a/tests/cp/abuse
+++ b/tests/cp/abuse
@@ -23,7 +23,7 @@ mkdir a b c || framework_failure_
ln -s ../t a/1 || framework_failure_
echo payload > b/1 || framework_failure_
-echo "cp: will not copy \`b/1' through just-created symlink \`c/1'" \
+echo "cp: will not copy 'b/1' through just-created symlink 'c/1'" \
> exp || framework_failure_
# Check both cases: a dangling symlink, and one pointing to a writable file.
diff --git a/tests/cp/cp-i b/tests/cp/cp-i
index 030f652d7..746dc2765 100755
--- a/tests/cp/cp-i
+++ b/tests/cp/cp-i
@@ -28,7 +28,7 @@ echo n | cp -iR a b 2>/dev/null || fail=1
# test miscellaneous combinations of -f -i -n parameters
touch c d || framework_failure_
-echo "\`c' -> \`d'" > out_copy
+echo "'c' -> 'd'" > out_copy
> out_empty
# ask for overwrite, answer no
diff --git a/tests/cp/thru-dangling b/tests/cp/thru-dangling
index 4d17ec3be..f8527af8d 100755
--- a/tests/cp/thru-dangling
+++ b/tests/cp/thru-dangling
@@ -22,7 +22,7 @@ print_ver_ cp
ln -s no-such dangle || framework_failure_
echo hi > f || framework_failure_
echo hi > exp || framework_failure_
-echo "cp: not writing through dangling symlink \`dangle'" \
+echo "cp: not writing through dangling symlink 'dangle'" \
> exp-err || framework_failure_