summaryrefslogtreecommitdiff
path: root/test/event-002.sh
blob: 0a101e2f04efa99b81547c7474425b1f84041063 (plain)
1
2
3
4
5
#!/bin/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