aboutsummaryrefslogtreecommitdiff
path: root/tests/mventry
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2022-07-07 18:56:49 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2022-07-07 18:56:49 +0300
commitfd02ec768ea360ca8d1a4a1da33bd0fef42d0653 (patch)
tree77d215e833d0e75fa9b3b67a0869703896de1848 /tests/mventry
parentd76a95f003b6891cb2cf3f6f40c194399ec5a850 (diff)
Use [cmdline] type for canned commands in testscripts
Diffstat (limited to 'tests/mventry')
-rw-r--r--tests/mventry/testscript10
1 files changed, 5 insertions, 5 deletions
diff --git a/tests/mventry/testscript b/tests/mventry/testscript
index 61ef871..f52be79 100644
--- a/tests/mventry/testscript
+++ b/tests/mventry/testscript
@@ -98,16 +98,16 @@
if ($test.target == $build.host)
{
+if ($cxx.target.class != 'windows')
- lnf = ^ln -s t l &l
- lnd = $lnf
+ lnf = [cmdline] ^ln -s t l &l
+ lnd = [cmdline] $lnf
else
echo 'yes' >=t
if cmd /C 'mklink l t' >- 2>- &?l && cat l >'yes'
- lnf = cmd /C 'mklink l t' &l >-
- lnd = cmd /C 'mklink /D l t' &l >-
+ lnf = [cmdline] cmd /C 'mklink l t' &l >-
+ lnd = [cmdline] cmd /C 'mklink /D l t' &l >-
end
- jnc = cmd /C 'mklink /J l t' &l >-
+ jnc = [cmdline] cmd /C 'mklink /J l t' &l >-
end
: symlink