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