test/: Add a couple of black-box tests for items

This introduces five test suite failures which will be fixed in one of
the following patches.

Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de>
This commit is contained in:
Lukas Fleischer
2013-02-26 22:17:29 +01:00
parent 3d7fdaec58
commit 5501dae328
55 changed files with 251 additions and 0 deletions

5
test/appointment-014.sh Executable file
View File

@@ -0,0 +1,5 @@
#!/bin/sh
"$CALCURSE" --read-only -D "$DATA_DIR"/ -c "$DATA_DIR/apts-appointment-014" \
-d02/23/2013 2>errors && exit 1
grep -Fq 'syntax error in item time or duration' errors