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>
15 lines
245 B
Bash
Executable File
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
|