summaryrefslogtreecommitdiffstats
path: root/test/regress-001.sh
diff options
context:
space:
mode:
Diffstat (limited to 'test/regress-001.sh')
-rwxr-xr-xtest/regress-001.sh15
1 files changed, 15 insertions, 0 deletions
diff --git a/test/regress-001.sh b/test/regress-001.sh
new file mode 100755
index 0000000..3ad6deb
--- /dev/null
+++ b/test/regress-001.sh
@@ -0,0 +1,15 @@
+#!/bin/sh
+
+. "${TEST_INIT:-./test-init.sh}"
+
+if [ "$1" = 'actual' ]; then
+ "$CALCURSE" --read-only -D "$DATA_DIR"/ -c "$DATA_DIR/apts-regress-001" \
+ -Q --filter-type=cal --from=2016-03-27 --days=2
+elif [ "$1" = 'expected' ]; then
+ cat <<EOD
+03/28/16:
+ * Day after clock adjustment
+EOD
+else
+ ./run-test "$0"
+fi