calcurse-edge/test/event-003.sh
Lukas Fleischer 7904af5d9d Implement test initialization properly
Make test-init.sh work even if tests are executed from another
directory.

Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de>
2014-07-08 15:12:37 +02:00

8 lines
189 B
Bash
Executable File

#!/bin/sh
. "${TEST_INIT:-./test-init.sh}"
"$CALCURSE" --read-only -D "$DATA_DIR"/ -c "$DATA_DIR/apts-event-003" \
-d02/23/2013 2>errors && exit 1
grep -Fq 'date error in event' errors