From 5322817d1c382d5ba377be0080bd4c5da525cd2f Mon Sep 17 00:00:00 2001 From: Tharre Date: Sun, 25 Jan 2015 20:38:20 +0100 Subject: Add testing framework `bats`, this fixes #6 --- test/always.bats | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 test/always.bats (limited to 'test/always.bats') 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 ] +} -- cgit v1.2.3-70-g09d2