calcurse-edge/test/appointment-004.sh
Lukas Fleischer 5501dae328 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>
2013-02-27 11:36:28 +01:00

15 lines
253 B
Bash
Executable File

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