aboutsummaryrefslogtreecommitdiff
path: root/tests/function
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2017-01-11 01:43:09 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2017-01-19 17:56:07 +0300
commita83f3866667bca073c4d4c5d80b4deb5ac05906c (patch)
tree479464203f6be4535c8f165a20d21322a88a2751 /tests/function
parentba99b60aeb8ccdeffc777589b99728395cd28f95 (diff)
Add support for portable path modifer and dot character escaping inversion
Diffstat (limited to 'tests/function')
-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