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:
14
test/appointment-004.sh
Executable file
14
test/appointment-004.sh
Executable file
@@ -0,0 +1,14 @@
|
||||
#!/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
|
||||
Reference in New Issue
Block a user