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

14
test/appointment-005.sh Executable file
View File

@@ -0,0 +1,14 @@
#!/bin/sh
if [ "$1" = 'actual' ]; then
"$CALCURSE" --read-only -D "$DATA_DIR"/ -c "$DATA_DIR/apts-appointment-005" \
-d02/23/2013
elif [ "$1" = 'expected' ]; then
cat <<EOD
02/23/13:
- ..:.. -> ..:..
Appointment
EOD
else
./run-test "$0"
fi