summaryrefslogtreecommitdiff
path: root/tests/ln/hard-to-sym
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/ln/hard-to-sym
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/ln/hard-to-sym')
-rwxr-xr-xtests/ln/hard-to-sym6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/ln/hard-to-sym b/tests/ln/hard-to-sym
index 5a3f1762c..3ea4570b1 100755
--- a/tests/ln/hard-to-sym
+++ b/tests/ln/hard-to-sym
@@ -53,7 +53,7 @@ esac
ln -s /no-such-dir || framework_failure_
ln -L no-such-dir hard-to-dangle 2>err && fail=1
case `cat err` in
- *' accessing `no-such-dir'\':*) ;;
+ *' accessing 'no-such-dir'\':*) ;;
*) fail=1 ;;
esac
ln -P no-such-dir hard-to-dangle || fail=1
@@ -64,12 +64,12 @@ mkdir d || framework_failure_
ln -s d link-to-dir || framework_failure_
ln -L link-to-dir hard-to-dir-link 2>err && fail=1
case `cat err` in
- *': `link-to-dir'\'': hard link not allowed for directory'*) ;;
+ *': 'link-to-dir'\'': hard link not allowed for directory'*) ;;
*) fail=1 ;;
esac
ln -P link-to-dir/ hard-to-dir-link 2>err && fail=1
case `cat err` in
- *': `link-to-dir/'\'': hard link not allowed for directory'*) ;;
+ *': 'link-to-dir/'\'': hard link not allowed for directory'*) ;;
*) fail=1 ;;
esac
ln -P link-to-dir hard-to-dir-link || fail=1