summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLars Henriksen <LarsHenriksen@get2net.dk>2018-11-19 18:56:48 +0100
committerLukas Fleischer <lfleischer@calcurse.org>2019-01-07 16:57:57 +0100
commita5e660899217e8ca552096375db6be0f83f939ea (patch)
tree527d208ee1db3da752ff3c4bbf0e79fa21008642
parentd0602625bcb0af0ec37b74597630c156b188afef (diff)
downloadcalcurse-a5e660899217e8ca552096375db6be0f83f939ea.tar.gz
calcurse-a5e660899217e8ca552096375db6be0f83f939ea.zip
CLI: tests aligned
Signed-off-by: Lukas Fleischer <lfleischer@calcurse.org>
-rw-r--r--test/data/conf2
-rwxr-xr-xtest/ical-007.sh2
-rwxr-xr-xtest/regress-001.sh2
3 files changed, 3 insertions, 3 deletions
diff --git a/test/data/conf b/test/data/conf
index 71cc7b5..3fe55d4 100644
--- a/test/data/conf
+++ b/test/data/conf
@@ -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
diff --git a/test/ical-007.sh b/test/ical-007.sh
index 8f0f472..4c43a4e 100755
--- a/test/ical-007.sh
+++ b/test/ical-007.sh
@@ -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
diff --git a/test/regress-001.sh b/test/regress-001.sh
index 3ad6deb..2c9775c 100755
--- a/test/regress-001.sh
+++ b/test/regress-001.sh
@@ -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: