summaryrefslogtreecommitdiff
path: root/tests/touch
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/touch
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/touch')
-rwxr-xr-xtests/touch/fail-diag2
-rwxr-xr-xtests/touch/not-owner2
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/touch/fail-diag b/tests/touch/fail-diag
index d42ee3774..6cdc1e2af 100755
--- a/tests/touch/fail-diag
+++ b/tests/touch/fail-diag
@@ -24,7 +24,7 @@ file=/no-such-dir/file
touch $file > out 2>&1 && fail=1
cat <<EOF > exp
-touch: cannot touch \`$file': No such file or directory
+touch: cannot touch '$file': No such file or directory
EOF
compare exp out || fail=1
diff --git a/tests/touch/not-owner b/tests/touch/not-owner
index 3637111a5..3aba5f0a0 100755
--- a/tests/touch/not-owner
+++ b/tests/touch/not-owner
@@ -43,7 +43,7 @@ touch / > out 2>&1 && fail=1
for msg in 'Not owner' 'Operation not permitted' 'Permission denied' \
'Read-only file system'; do
cat > exp <<EOF
-touch: setting times of \`/': $msg
+touch: setting times of '/': $msg
EOF
cmp out exp > /dev/null 2>&1 && { match=1; break; }