From 54d6f97c895490e2699e560990b37df95f3d1d87 Mon Sep 17 00:00:00 2001 From: Tharre Date: Mon, 13 Jul 2015 15:01:47 +0200 Subject: Replace custom test-suite with sharness This should make the hole test-suite a bit more standard (by outputting TAP), as well as making it easier to test redo in a controlled environment. In contrast to bats, sharness requires no external dependencies. --- tests/a--b,a--c,b--c/a.do | 3 --- tests/a--b,a--c,b--c/all.do | 9 --------- tests/a--b,a--c,b--c/b.do | 3 --- tests/a--b,a--c,b--c/c.do | 1 - 4 files changed, 16 deletions(-) delete mode 100644 tests/a--b,a--c,b--c/a.do delete mode 100644 tests/a--b,a--c,b--c/all.do delete mode 100644 tests/a--b,a--c,b--c/b.do delete mode 100644 tests/a--b,a--c,b--c/c.do (limited to 'tests/a--b,a--c,b--c') diff --git a/tests/a--b,a--c,b--c/a.do b/tests/a--b,a--c,b--c/a.do deleted file mode 100644 index 2a1b779..0000000 --- a/tests/a--b,a--c,b--c/a.do +++ /dev/null @@ -1,3 +0,0 @@ -redo-ifchange b c - -echo -n "a" | cat - b c > $3 diff --git a/tests/a--b,a--c,b--c/all.do b/tests/a--b,a--c,b--c/all.do deleted file mode 100644 index dab5463..0000000 --- a/tests/a--b,a--c,b--c/all.do +++ /dev/null @@ -1,9 +0,0 @@ -. ../include.sh - -rm -rf a b c - -redo-ifchange a - -assert "a--b,a--c,b--c" << ! -[ "$(cat a)" = "abcc" ] -! diff --git a/tests/a--b,a--c,b--c/b.do b/tests/a--b,a--c,b--c/b.do deleted file mode 100644 index fc555dd..0000000 --- a/tests/a--b,a--c,b--c/b.do +++ /dev/null @@ -1,3 +0,0 @@ -redo-ifchange c - -echo -n "b" | cat - c > $3 diff --git a/tests/a--b,a--c,b--c/c.do b/tests/a--b,a--c,b--c/c.do deleted file mode 100644 index 6a816ac..0000000 --- a/tests/a--b,a--c,b--c/c.do +++ /dev/null @@ -1 +0,0 @@ -echo -n "c" > $3 -- cgit v1.2.3-70-g09d2