CLI: tests aligned

Signed-off-by: Lukas Fleischer <lfleischer@calcurse.org>
This commit is contained in:
Lars Henriksen 2018-11-19 18:56:48 +01:00 committed by Lukas Fleischer
parent d0602625bc
commit a5e6608992
3 changed files with 3 additions and 3 deletions

View File

@ -24,7 +24,7 @@ general.confirmquit=yes
general.confirmdelete=yes
# If this option is set to yes, messages about loaded and saved data will not be displayed
general.systemdialogs=no
general.systemdialogs=yes
# If this option is set to yes, progress bar appearing when saving data will not be displayed
general.progressbar=no

View File

@ -7,7 +7,7 @@ if [ "$1" = 'actual' ]; then
cp "$DATA_DIR/conf" .calcurse || exit 1
TZ="America/New_York" "$CALCURSE" -D "$PWD/.calcurse" \
-i "$DATA_DIR/ical-007.ical"
"$CALCURSE" -D "$PWD/.calcurse" -s2015-02-23
"$CALCURSE" -D "$PWD/.calcurse" -s02/23/2015
rm -rf .calcurse || exit 1
elif [ "$1" = 'expected' ]; then
cat <<EOD

View File

@ -4,7 +4,7 @@
if [ "$1" = 'actual' ]; then
"$CALCURSE" --read-only -D "$DATA_DIR"/ -c "$DATA_DIR/apts-regress-001" \
-Q --filter-type=cal --from=2016-03-27 --days=2
-Q --filter-type=cal --from=03/27/2016 --days=2
elif [ "$1" = 'expected' ]; then
cat <<EOD
03/28/16: