aboutsummaryrefslogtreecommitdiffstats
path: root/tests/a
diff options
context:
space:
mode:
Diffstat (limited to 'tests/a')
-rw-r--r--tests/a/a.do1
-rw-r--r--tests/a/all.do9
2 files changed, 10 insertions, 0 deletions
diff --git a/tests/a/a.do b/tests/a/a.do
new file mode 100644
index 0000000..bdff4bb
--- /dev/null
+++ b/tests/a/a.do
@@ -0,0 +1 @@
+echo "a" > $3
diff --git a/tests/a/all.do b/tests/a/all.do
new file mode 100644
index 0000000..71e4a27
--- /dev/null
+++ b/tests/a/all.do
@@ -0,0 +1,9 @@
+. ../include.sh
+
+rm -rf a
+
+redo-ifchange a
+
+assert "a" << !
+[ "$(cat a)" = "a" ]
+!