From 955afeb419ed02a078b45312949767692751274c Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Sun, 15 Mar 2020 17:02:22 +0300 Subject: 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. --- tests/dir-iterator/testscript | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/dir-iterator') diff --git a/tests/dir-iterator/testscript b/tests/dir-iterator/testscript index ec7338d..03ed164 100644 --- a/tests/dir-iterator/testscript +++ b/tests/dir-iterator/testscript @@ -24,7 +24,7 @@ $* a >"dir b" if ($test.target == $build.host) { +if ($cxx.target.class != 'windows') - lnf = ln -s wd/t wd/l &wd/l + lnf = ^ln -s t wd/l &wd/l lnd = $lnf else echo 'yes' >=t -- cgit v1.1