summaryrefslogtreecommitdiff
path: root/test/appointment-018.sh
blob: 2124074fb4a26cc999056ec3a4858a3cb8d8ed21 (plain)
1
2
3
4
5
#!/bin/sh

"$CALCURSE" --read-only -D "$DATA_DIR"/ -c "$DATA_DIR/apts-appointment-018" \
  -d02/23/2013 2>errors && exit 1
grep -Fq 'syntax error in item time or duration' errors