calcurse-edge/test/day-001.sh
Lukas Fleischer 80d882d03d test/: Run calcurse in read-only mode
We don't change any configuration nor do we modify items here, so we can
safely invoke calcurse in read-only mode. Fixes a couple of permission
errors seen with `make distcheck`.

Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de>
2012-02-24 22:48:26 +01:00

15 lines
245 B
Bash
Executable File

#!/bin/sh
if [ "$1" = 'actual' ]; then
"$CALCURSE" --read-only -D "$DATA_DIR"/ -d02/25/2011
elif [ "$1" = 'expected' ]; then
cat <<EOD
02/25/11:
* Socket ghastlier
- ..:.. -> ..:..
Covenants useful smoker's
EOD
else
./run-test "$0"
fi