summaryrefslogtreecommitdiff
path: root/test/appointment-005.sh
diff options
context:
space:
mode:
Diffstat (limited to 'test/appointment-005.sh')
-rwxr-xr-xtest/appointment-005.sh14
1 files changed, 14 insertions, 0 deletions
diff --git a/test/appointment-005.sh b/test/appointment-005.sh
new file mode 100755
index 0000000..54a0acc
--- /dev/null
+++ b/test/appointment-005.sh
@@ -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