From 80d882d03ddb7eb5807cba13ee74b389846206d4 Mon Sep 17 00:00:00 2001 From: Lukas Fleischer Date: Wed, 22 Feb 2012 12:43:44 +0100 Subject: 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 --- test/day-003.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test/day-003.sh') diff --git a/test/day-003.sh b/test/day-003.sh index 25fca7d..7534cd8 100755 --- a/test/day-003.sh +++ b/test/day-003.sh @@ -6,9 +6,9 @@ if [ ! -x "$(command -v faketime)" ]; then fi if [ "$1" = 'actual' ]; then - faketime '1912-06-23' "$CALCURSE" -D "$DATA_DIR"/ -d42 + faketime '1912-06-23' "$CALCURSE" --read-only -D "$DATA_DIR"/ -d42 elif [ "$1" = 'expected' ]; then - "$CALCURSE" -D "$DATA_DIR"/ -s06/23/1912 -r42 + "$CALCURSE" --read-only -D "$DATA_DIR"/ -s06/23/1912 -r42 else ./run-test "$0" fi -- cgit v1.2.3-54-g00ecf