diff options
author | Tharre <tharre3@gmail.com> | 2015-07-13 15:01:47 +0200 |
---|---|---|
committer | Tharre <tharre3@gmail.com> | 2015-07-13 15:33:43 +0200 |
commit | 54d6f97c895490e2699e560990b37df95f3d1d87 (patch) | |
tree | 902d7cfcb839195f84dce0507645e5cc6d6256f5 /tests/a--c,b--c,c--d | |
parent | 3493dac92c9da21823b39b53b808745859fb9950 (diff) | |
download | redo-54d6f97c895490e2699e560990b37df95f3d1d87.tar.gz redo-54d6f97c895490e2699e560990b37df95f3d1d87.tar.xz redo-54d6f97c895490e2699e560990b37df95f3d1d87.zip |
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.
Diffstat (limited to 'tests/a--c,b--c,c--d')
-rw-r--r-- | tests/a--c,b--c,c--d/a.do | 3 | ||||
-rw-r--r-- | tests/a--c,b--c,c--d/all.do | 10 | ||||
-rw-r--r-- | tests/a--c,b--c,c--d/b.do | 3 | ||||
-rw-r--r-- | tests/a--c,b--c,c--d/c.do | 3 | ||||
-rw-r--r-- | tests/a--c,b--c,c--d/d.do | 1 |
5 files changed, 0 insertions, 20 deletions
diff --git a/tests/a--c,b--c,c--d/a.do b/tests/a--c,b--c,c--d/a.do deleted file mode 100644 index 34d0c7c..0000000 --- a/tests/a--c,b--c,c--d/a.do +++ /dev/null @@ -1,3 +0,0 @@ -redo-ifchange c - -echo -n "a" | cat - c > $3 diff --git a/tests/a--c,b--c,c--d/all.do b/tests/a--c,b--c,c--d/all.do deleted file mode 100644 index 2c93c8a..0000000 --- a/tests/a--c,b--c,c--d/all.do +++ /dev/null @@ -1,10 +0,0 @@ -. ../include.sh - -rm -rf a b c d - -redo-ifchange a b - -assert "a--c,b--c,c--d" << ! -[ "$(cat a)" = "acd" ] && -[ "$(cat b)" = "bcd" ] -! diff --git a/tests/a--c,b--c,c--d/b.do b/tests/a--c,b--c,c--d/b.do deleted file mode 100644 index fc555dd..0000000 --- a/tests/a--c,b--c,c--d/b.do +++ /dev/null @@ -1,3 +0,0 @@ -redo-ifchange c - -echo -n "b" | cat - c > $3 diff --git a/tests/a--c,b--c,c--d/c.do b/tests/a--c,b--c,c--d/c.do deleted file mode 100644 index fdc64d8..0000000 --- a/tests/a--c,b--c,c--d/c.do +++ /dev/null @@ -1,3 +0,0 @@ -redo-ifchange d - -echo -n "c" | cat - d > $3 diff --git a/tests/a--c,b--c,c--d/d.do b/tests/a--c,b--c,c--d/d.do deleted file mode 100644 index ab21832..0000000 --- a/tests/a--c,b--c,c--d/d.do +++ /dev/null @@ -1 +0,0 @@ -echo -n "d" > $3 |