summaryrefslogtreecommitdiff
path: root/tests/du/inacc-dest
diff options
context:
space:
mode:
authorJim Meyering <meyering@redhat.com>2012-01-07 17:47:58 +0100
committerJim Meyering <meyering@redhat.com>2012-01-09 21:50:08 +0100
commitdd0e4c5621ca2fa9255aef4eee0e7cf41cd335d2 (patch)
tree5194ff517669cfb08a3ba329658b45870ab063bd /tests/du/inacc-dest
parent50610144b02763f5dd5f6198ceceb88c27c393aa (diff)
downloadcoreutils-dd0e4c5621ca2fa9255aef4eee0e7cf41cd335d2.tar.xz
tests: change `...' to '...' on lines not matching /[=\$]/
Exempt lines with '$' or '=', since those are prone to improper conversion. Run this: git grep -l "\`[^']*'" tests \ |xargs perl -pi -e '/[=\$]/ and next;s/\`([^'\''"]*?'\'')/'\''$1/g'
Diffstat (limited to 'tests/du/inacc-dest')
-rwxr-xr-xtests/du/inacc-dest6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/du/inacc-dest b/tests/du/inacc-dest
index 61e01d8a2..c9c709759 100755
--- a/tests/du/inacc-dest
+++ b/tests/du/inacc-dest
@@ -40,13 +40,13 @@ cat <<\EOF > exp || fail=1
./c
./d
./e
-du: cannot read directory `./c': Permission denied
+du: cannot read directory './c': Permission denied
EOF
# Map a diagnostic like this
-# du: cannot access `./c/j': Permission denied
+# du: cannot access './c/j': Permission denied
# to this:
-# du: cannot access `./c': Permission denied
+# du: cannot access './c': Permission denied
# And accept "cannot read directory" in place of "cannot access"
sed "s,/c/j': ,/c': ," out > t && mv t out
sed 's,cannot access,cannot read directory,' out > t && mv t out