aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTharre <tharre3@gmail.com>2015-02-07 19:41:26 +0100
committerTharre <tharre3@gmail.com>2015-02-07 19:41:26 +0100
commit6fe2d9cb44515c4db53686327086f2ae894cad60 (patch)
tree2897f8ab2e1e1014a893fab7de9536d3e94f839b
parent6990e949396c6023bffc4d7dd2f7320fd2aa91be (diff)
downloadredo-6fe2d9cb44515c4db53686327086f2ae894cad60.tar.gz
redo-6fe2d9cb44515c4db53686327086f2ae894cad60.tar.xz
redo-6fe2d9cb44515c4db53686327086f2ae894cad60.zip
Fix always testcase but skip it for now
-rw-r--r--test/always.bats1
-rw-r--r--test/always.do4
-rw-r--r--test/always_test.do2
3 files changed, 6 insertions, 1 deletions
diff --git a/test/always.bats b/test/always.bats
index a4ab1a2..b6dab37 100644
--- a/test/always.bats
+++ b/test/always.bats
@@ -3,6 +3,7 @@
load test_helper
@test "check if do-files marked with always really do execute always" {
+ skip "Not yet implemented"
run redo always
[ $status -eq 0 ] && [ -e always_result ]
}
diff --git a/test/always.do b/test/always.do
index 0c112e1..12e16ba 100644
--- a/test/always.do
+++ b/test/always.do
@@ -1,5 +1,7 @@
redo-ifchange always_test
-rm -f always_result
+rm always_result
redo-ifchange always_test
+
+rm always_test # TODO: move this to test-helper.bash somehow
diff --git a/test/always_test.do b/test/always_test.do
index e73e2e0..425ab6d 100644
--- a/test/always_test.do
+++ b/test/always_test.do
@@ -1 +1,3 @@
+redo-always
touch always_result
+echo "Content" > $3