aboutsummaryrefslogtreecommitdiffstats
path: root/tests/always
diff options
context:
space:
mode:
Diffstat (limited to 'tests/always')
-rw-r--r--tests/always/a.do3
-rw-r--r--tests/always/all.do9
2 files changed, 12 insertions, 0 deletions
diff --git a/tests/always/a.do b/tests/always/a.do
new file mode 100644
index 0000000..f412852
--- /dev/null
+++ b/tests/always/a.do
@@ -0,0 +1,3 @@
+redo-always
+
+date +%N > $3
diff --git a/tests/always/all.do b/tests/always/all.do
new file mode 100644
index 0000000..de262ce
--- /dev/null
+++ b/tests/always/all.do
@@ -0,0 +1,9 @@
+. ../include.sh
+
+rm -rf a
+
+redo a
+
+assert "always" << !
+[ "$(cat a)" = "??" ]
+!