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-002.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/todo-002.sh') diff --git a/test/todo-002.sh b/test/todo-002.sh index 8609e22..a91d06d 100755 --- a/test/todo-002.sh +++ b/test/todo-002.sh @@ -1,7 +1,7 @@ #!/bin/sh if [ "$1" = 'actual' ]; then - "$CALCURSE" -D "$DATA_DIR"/ -t3 + "$CALCURSE" --read-only -D "$DATA_DIR"/ -t3 elif [ "$1" = 'expected' ]; then echo 'to do:' sed -n 's/^\[3\] \(.*\)/3. \1/p' "$DATA_DIR"/todo -- cgit v1.2.3-54-g00ecf