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/todo-001.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/todo-001.sh') diff --git a/test/todo-001.sh b/test/todo-001.sh index d1c7433..db6b6ca 100755 --- a/test/todo-001.sh +++ b/test/todo-001.sh @@ -1,7 +1,7 @@ #!/bin/sh if [ "$1" = 'actual' ]; then - "$CALCURSE" -D "$DATA_DIR"/ -t | sort + "$CALCURSE" --read-only -D "$DATA_DIR"/ -t | sort elif [ "$1" = 'expected' ]; then ( echo 'to do:' -- cgit v1.2.3-54-g00ecf