aboutsummaryrefslogtreecommitdiff
path: root/tests/test/script/runner/cleanup.test
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2016-10-28 00:50:02 +0300
committerBoris Kolpackov <boris@codesynthesis.com>2016-11-04 09:26:36 +0200
commit18235d8e5f37c0e65b5f1e3cacb6e3d27c3e05eb (patch)
tree7f41d442210d6159be2853a663af989ff58cc424 /tests/test/script/runner/cleanup.test
parentb3e6cb1b899dcc6b3488f10d8eee437a6f87ad15 (diff)
Add support of paths cleanups to testscript runner
Diffstat (limited to 'tests/test/script/runner/cleanup.test')
-rw-r--r--tests/test/script/runner/cleanup.test10
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/test/script/runner/cleanup.test b/tests/test/script/runner/cleanup.test
new file mode 100644
index 0000000..76cff63
--- /dev/null
+++ b/tests/test/script/runner/cleanup.test
@@ -0,0 +1,10 @@
+# file : tests/test/script/runner/cleanup.test
+# copyright : Copyright (c) 2014-2016 Code Synthesis Ltd
+# license : MIT; see accompanying LICENSE file
+
+$* -f a &a # file
+$* -d a &a/ # dir1
+$* -d a/b &a/ &a/b/ # dir2
+$* -d a/b -f a/b/c &a/ &a/b/ &a/b/c # file-dir
+$* -f a &a &a # file-dup
+$* -d a/b &a/ &a/b/ &a/b/../b/ # dir-dup