diff options
author | Karen Arutyunov <karen@codesynthesis.com> | 2022-07-07 18:56:49 +0300 |
---|---|---|
committer | Karen Arutyunov <karen@codesynthesis.com> | 2022-07-07 18:56:49 +0300 |
commit | fd02ec768ea360ca8d1a4a1da33bd0fef42d0653 (patch) | |
tree | 77d215e833d0e75fa9b3b67a0869703896de1848 /tests/dir-iterator/testscript | |
parent | d76a95f003b6891cb2cf3f6f40c194399ec5a850 (diff) |
Use [cmdline] type for canned commands in testscripts
Diffstat (limited to 'tests/dir-iterator/testscript')
-rw-r--r-- | tests/dir-iterator/testscript | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/tests/dir-iterator/testscript b/tests/dir-iterator/testscript index 03ed164..30cf6d7 100644 --- a/tests/dir-iterator/testscript +++ b/tests/dir-iterator/testscript @@ -24,16 +24,16 @@ $* a >"dir b" if ($test.target == $build.host) { +if ($cxx.target.class != 'windows') - lnf = ^ln -s t wd/l &wd/l - lnd = $lnf + lnf = [cmdline] ^ln -s t wd/l &wd/l + lnd = [cmdline] $lnf else echo 'yes' >=t if cmd /C 'mklink l t' >- 2>- &?l && cat l >'yes' - lnf = cmd /C 'mklink wd\l t' &wd/l >- - lnd = cmd /C 'mklink /D wd\l t' &wd/l >- + lnf = [cmdline] cmd /C 'mklink wd\l t' &wd/l >- + lnd = [cmdline] cmd /C 'mklink /D wd\l t' &wd/l >- end - jnc = cmd /C 'mklink /J wd\l wd\t' &wd/l >- + jnc = [cmdline] cmd /C 'mklink /J wd\l wd\t' &wd/l >- end : symlink |