aboutsummaryrefslogtreecommitdiffstats
path: root/test/always.bats
diff options
context:
space:
mode:
Diffstat (limited to 'test/always.bats')
-rw-r--r--test/always.bats8
1 files changed, 8 insertions, 0 deletions
diff --git a/test/always.bats b/test/always.bats
new file mode 100644
index 0000000..a4ab1a2
--- /dev/null
+++ b/test/always.bats
@@ -0,0 +1,8 @@
+#!/usr/bin/env bats
+
+load test_helper
+
+@test "check if do-files marked with always really do execute always" {
+ run redo always
+ [ $status -eq 0 ] && [ -e always_result ]
+}