summaryrefslogtreecommitdiff
path: root/test/appointment-017.sh
blob: cf751dcd8747272ed8ce6015c35756ae9ec37547 (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-appointment-017" \
  -d02/23/2013 2>errors && exit 1
grep -Fq 'syntax error in item time or duration' errors