#!/bin/sh

. ./test-init.sh

"$CALCURSE" --read-only -D "$DATA_DIR"/ -c "$DATA_DIR/apts-event-003" \
  -d02/23/2013 2>errors && exit 1
grep -Fq 'date error in event' errors