aboutsummaryrefslogtreecommitdiff
path: root/tests/wildcard
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2020-03-15 17:02:22 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2020-03-17 13:16:33 +0300
commit955afeb419ed02a078b45312949767692751274c (patch)
tree1f2190353eb6fd69b065ed0a0c11f8da9f39ef4e /tests/wildcard
parent56e49a09b4f1d268bfee83324bbcd44eb925815b (diff)
Fix ln builtin not to complete relative target against working directory
Now it preserves the relative path when creates a symlink and completes it against the link directory when creates a hardlink or a copy.
Diffstat (limited to 'tests/wildcard')
-rw-r--r--tests/wildcard/testscript2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/wildcard/testscript b/tests/wildcard/testscript
index 3590aa3..5f6a767 100644
--- a/tests/wildcard/testscript
+++ b/tests/wildcard/testscript
@@ -650,7 +650,7 @@
{
mkdir a;
touch --no-cleanup a/b;
- ln -s a/b a/l;
+ ^ln -s b a/l &a/l;
rm a/b;
touch a/c;