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