summaryrefslogtreecommitdiffstats
path: root/test/event-002.sh
blob: 5a1f4519fe2c762c12ce341edeaf54579a5d772c (plain) (blame)
1
2
3
4
5
6
7
8
#!/bin/sh

. "${TEST_INIT:-./test-init.sh}"

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