test/: Add generic tests for todo operations

* todo-001.sh: Tests the "-t" command line option (calculates expected
  output by parsing the todo data file).

* todo-002.sh: Tests "-t<num>" in a way similar to todo-001.sh.

* todo-003.sh: Tests "-t0" in a way similar to todo-001.sh.

Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de>
This commit is contained in:
Lukas Fleischer
2012-01-21 15:28:51 +01:00
parent 31b4c71eb2
commit 32530f0e50
5 changed files with 235 additions and 1 deletions

View File

@@ -3,7 +3,10 @@ AUTOMAKE_OPTIONS = foreign
TESTS = \
true-001.sh \
run-test-001.sh \
run-test-002.sh
run-test-002.sh \
todo-001.sh \
todo-002.sh \
todo-003.sh
check_PROGRAMS = run-test
check_SCRIPTS = $(TESTS)