diff options
author | Karen Arutyunov <karen@codesynthesis.com> | 2016-11-30 11:47:27 +0300 |
---|---|---|
committer | Karen Arutyunov <karen@codesynthesis.com> | 2016-12-05 14:04:01 +0300 |
commit | e7b033d7b38bc55f934521b5f35060b43a8b0526 (patch) | |
tree | 52a99420086e7e86ac99ef4b2b96bd210504cf01 /tests/dir-iterator/testscript | |
parent | cf8f3b830789a6bcc538d2f4d0e8a1425a110c47 (diff) |
Make path::normalize() to preserve ./, invalidate paths starting with \, / on Windows
Diffstat (limited to 'tests/dir-iterator/testscript')
-rw-r--r-- | tests/dir-iterator/testscript | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/tests/dir-iterator/testscript b/tests/dir-iterator/testscript new file mode 100644 index 0000000..42dc1fa --- /dev/null +++ b/tests/dir-iterator/testscript @@ -0,0 +1,16 @@ +# file : tests/dir-iterator/testscript +# copyright : Copyright (c) 2014-2016 Code Synthesis Ltd +# license : MIT; see accompanying LICENSE file + +test.options = -v + +: file +: +mkdir a; +touch a/b; +$* a 2>"reg b" + +: dir +: +mkdir -p a/b; +$* a 2>"dir b" |