aboutsummaryrefslogtreecommitdiff
path: root/tests/function/path/testscript
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2016-12-16 17:29:01 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2016-12-16 17:29:01 +0200
commit2af491cc4ad0ae4064f2e858c83ed485613adafa (patch)
tree18010b6c7b9ef13072f6e2514fcb1bb60f38d60a /tests/function/path/testscript
parent3ab61fbc2ce25afa617ed6bb50c2f8d701beeaba (diff)
Convert tests/ to subproject, initial work on cross-testing support
Diffstat (limited to 'tests/function/path/testscript')
-rw-r--r--tests/function/path/testscript4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/function/path/testscript b/tests/function/path/testscript
index 8467bce..828263f 100644
--- a/tests/function/path/testscript
+++ b/tests/function/path/testscript
@@ -32,7 +32,9 @@ s = ($cxx.target.class != windows ? '/' : '\')
if ($cxx.target.class == windows)
{
mkdir Foo;
- $* <"print \$path.normalize\('$~/foo', true)" >"$~\\Foo"
+ # @@ regex
+ #$* <'print $path.normalize($out_base/foo, true)' >~'/.+\Foo/' # cross
+ $* <'print $path.normalize($out_base/foo, true)' >"$~\\Foo"
}
}