aboutsummaryrefslogtreecommitdiff
path: root/tests/function/path/testscript
diff options
context:
space:
mode:
Diffstat (limited to 'tests/function/path/testscript')
-rw-r--r--tests/function/path/testscript6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/function/path/testscript b/tests/function/path/testscript
index 4621ba4..bfbc895 100644
--- a/tests/function/path/testscript
+++ b/tests/function/path/testscript
@@ -4,7 +4,7 @@
.include ../../common.test
-s = ($cxx.target.class != windows ? '/' : '\')
+s = ($cxx.target.class != 'windows' ? '/' : '\')
: canonicalize
:
@@ -29,7 +29,7 @@ s = ($cxx.target.class != windows ? '/' : '\')
: actualize
:
- if ($cxx.target.class == windows)
+ if ($cxx.target.class == 'windows')
{
mkdir Foo;
$* <'print $path.normalize($out_base/foo, true)' >~'/.+\\Foo/'
@@ -38,7 +38,7 @@ s = ($cxx.target.class != windows ? '/' : '\')
: invalid-path
:
-p = ($cxx.target.class != windows ? /../foo : 'c:/../foo');
+p = ($cxx.target.class != 'windows' ? /../foo : 'c:/../foo');
$* <"\$path.normalize\('$p')" 2>>"EOE" != 0
error: invalid path: '$p'
EOE