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/appointment-001.sh | 2 +- test/day-001.sh | 2 +- test/day-002.sh | 2 +- test/day-003.sh | 4 ++-- test/next-001.sh | 2 +- test/range-001.sh | 2 +- test/range-002.sh | 2 +- test/range-003.sh | 4 ++-- test/search-001.sh | 3 ++- test/todo-001.sh | 2 +- test/todo-002.sh | 2 +- test/todo-003.sh | 2 +- 12 files changed, 15 insertions(+), 14 deletions(-) diff --git a/test/appointment-001.sh b/test/appointment-001.sh index d103acc..27813b3 100755 --- a/test/appointment-001.sh +++ b/test/appointment-001.sh @@ -6,7 +6,7 @@ if [ ! -x "$(command -v faketime)" ]; then fi if [ "$1" = 'actual' ]; then - faketime '2011-02-25 23:42' "$CALCURSE" -D "$DATA_DIR" -a + faketime '2011-02-25 23:42' "$CALCURSE" --read-only -D "$DATA_DIR" -a elif [ "$1" = 'expected' ]; then cat <