diff options
author | Lukas Fleischer <calcurse@cryptocrack.de> | 2012-02-22 12:43:44 +0100 |
---|---|---|
committer | Lukas Fleischer <calcurse@cryptocrack.de> | 2012-02-24 22:48:26 +0100 |
commit | 80d882d03ddb7eb5807cba13ee74b389846206d4 (patch) | |
tree | 74c55e4a50967dfa3d3703251a7411d75b61c48b /test/range-003.sh | |
parent | 3bc9497fc84abca0493083c3c208f0d2738bed38 (diff) | |
download | 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/range-003.sh')
-rwxr-xr-x | test/range-003.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/range-003.sh b/test/range-003.sh index df68437..a291208 100755 --- a/test/range-003.sh +++ b/test/range-003.sh @@ -6,9 +6,9 @@ if [ ! -x "$(command -v faketime)" ]; then fi if [ "$1" = 'actual' ]; then - faketime '2000-01-01 00:00:00' "$CALCURSE" -D "$DATA_DIR"/ -r400 + faketime '2000-01-01 00:00:00' "$CALCURSE" --read-only -D "$DATA_DIR"/ -r400 elif [ "$1" = 'expected' ]; then - "$CALCURSE" -D "$DATA_DIR"/ -s01/01/2000 -r400 + "$CALCURSE" --read-only -D "$DATA_DIR"/ -s01/01/2000 -r400 else ./run-test "$0" fi |