summaryrefslogtreecommitdiff
path: root/test/event-001.sh
diff options
context:
space:
mode:
Diffstat (limited to 'test/event-001.sh')
-rwxr-xr-xtest/event-001.sh13
1 files changed, 13 insertions, 0 deletions
diff --git a/test/event-001.sh b/test/event-001.sh
new file mode 100755
index 0000000..6496309
--- /dev/null
+++ b/test/event-001.sh
@@ -0,0 +1,13 @@
+#!/bin/sh
+
+if [ "$1" = 'actual' ]; then
+ "$CALCURSE" --read-only -D "$DATA_DIR"/ -c "$DATA_DIR/apts-event-001" \
+ -d02/23/2013
+elif [ "$1" = 'expected' ]; then
+ cat <<EOD
+02/23/13:
+ * Event
+EOD
+else
+ ./run-test "$0"
+fi