1#!/bin/sh
2
3. "${TEST_INIT:-./test-init.sh}"
4
5if [ "$1" = 'actual' ]; then
6  "$CALCURSE" --read-only -D "$DATA_DIR"/ -c "$DATA_DIR/apts-recur" \
7    -d02/01/2000 --format-recur-apt=''
8elif [ "$1" = 'expected' ]; then
9  cat <<EOD
1002/01/00:
11 * Each day since 2000-01-01
12 * Each first day of the month since 2000-01-01
13EOD
14else
15  ./run-test "$0"
16fi
17