aboutsummaryrefslogtreecommitdiff
path: root/tests/dir-iterator/testscript
diff options
context:
space:
mode:
Diffstat (limited to 'tests/dir-iterator/testscript')
-rw-r--r--tests/dir-iterator/testscript16
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"