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>
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user