aboutsummaryrefslogtreecommitdiffstats
path: root/test/todo-002.sh
diff options
context:
space:
mode:
authorLukas Fleischer <calcurse@cryptocrack.de>2012-02-22 12:43:44 +0100
committerLukas Fleischer <calcurse@cryptocrack.de>2012-02-24 22:48:26 +0100
commit80d882d03ddb7eb5807cba13ee74b389846206d4 (patch)
tree74c55e4a50967dfa3d3703251a7411d75b61c48b /test/todo-002.sh
parent3bc9497fc84abca0493083c3c208f0d2738bed38 (diff)
downloadcalcurse-80d882d03ddb7eb5807cba13ee74b389846206d4.tar.gz
calcurse-80d882d03ddb7eb5807cba13ee74b389846206d4.zip
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 <calcurse@cryptocrack.de>
Diffstat (limited to 'test/todo-002.sh')
-rwxr-xr-xtest/todo-002.sh2
1 files changed, 1 insertions, 1 deletions
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