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>
This commit is contained in:
Lukas Fleischer
2012-02-22 12:43:44 +01:00
parent 3bc9497fc8
commit 80d882d03d
12 changed files with 15 additions and 14 deletions

View File

@@ -6,7 +6,7 @@ if [ ! -x "$(command -v faketime)" ]; then
fi
if [ "$1" = 'actual' ]; then
faketime '1912-07-10 04:10' "$CALCURSE" -D "$DATA_DIR" -n
faketime '1912-07-10 04:10' "$CALCURSE" --read-only -D "$DATA_DIR" -n
elif [ "$1" = 'expected' ]; then
cat <<EOD
next appointment: