summaryrefslogtreecommitdiff
path: root/test/event-002.sh
blob: 730f432d13dcb24eb69284ab71ef1e028d9bddfe (plain)
1
2
3
4
5
6
7
#!/bin/sh

. ./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