summaryrefslogtreecommitdiffstats
path: root/test/appointment-018.sh
blob: 17338f752bc5f79520a541939c56600c98b166e6 (plain) (blame)
1
2
3
4
5
6
7
8
#!/bin/sh

. "${TEST_INIT:-./test-init.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
rm -f errors