summaryrefslogtreecommitdiff
path: root/tests/ln
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ln')
-rwxr-xr-xtests/ln/hard-backup2
-rwxr-xr-xtests/ln/hard-to-sym6
-rwxr-xr-xtests/ln/target-12
3 files changed, 5 insertions, 5 deletions
diff --git a/tests/ln/hard-backup b/tests/ln/hard-backup
index 65bf1f15a..bc38bbe5d 100755
--- a/tests/ln/hard-backup
+++ b/tests/ln/hard-backup
@@ -24,7 +24,7 @@ touch f || framework_failure_
ln --backup f f 2> out && fail=1
cat <<\EOF > exp || fail=1
-ln: `f' and `f' are the same file
+ln: 'f' and 'f' are the same file
EOF
compare exp out || fail=1
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
diff --git a/tests/ln/target-1 b/tests/ln/target-1
index 72c46f203..87dfbf0cd 100755
--- a/tests/ln/target-1
+++ b/tests/ln/target-1
@@ -18,7 +18,7 @@
# Before coreutils-4.5.3, --target-dir didn't work with one file.
# It would create the desired link, but would fail with a diagnosis like this:
-# ln: `d/.': cannot overwrite directory
+# ln: 'd/.': cannot overwrite directory
# Based on a test case from Dmitry V. Levin.
. "${srcdir=.}/init.sh"; path_prepend_ ../src