diff options
author | Karen Arutyunov <karen@codesynthesis.com> | 2017-01-11 01:43:09 +0300 |
---|---|---|
committer | Karen Arutyunov <karen@codesynthesis.com> | 2017-01-19 17:56:07 +0300 |
commit | a83f3866667bca073c4d4c5d80b4deb5ac05906c (patch) | |
tree | 479464203f6be4535c8f165a20d21322a88a2751 /tests/function/path/testscript | |
parent | ba99b60aeb8ccdeffc777589b99728395cd28f95 (diff) |
Add support for portable path modifer and dot character escaping inversion
Diffstat (limited to 'tests/function/path/testscript')
-rw-r--r-- | tests/function/path/testscript | 6 |
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 |