test/: Fix date in ical-001

Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de>
This commit is contained in:
Lukas Fleischer 2014-08-18 11:32:50 +02:00
parent aca92e619d
commit e57b9654ff
2 changed files with 4 additions and 4 deletions

View File

@ -1,7 +1,7 @@
BEGIN:VCALENDAR BEGIN:VCALENDAR
VERSION:2.0 VERSION:2.0
BEGIN:VEVENT BEGIN:VEVENT
DTSTART:19020101T000100 DTSTART:19800101T000100
DURATION:P1DT9H17M0S DURATION:P1DT9H17M0S
SUMMARY:Calibrator's SUMMARY:Calibrator's
END:VEVENT END:VEVENT

View File

@ -6,18 +6,18 @@ if [ "$1" = 'actual' ]; then
mkdir .calcurse || exit 1 mkdir .calcurse || exit 1
cp "$DATA_DIR/conf" .calcurse || exit 1 cp "$DATA_DIR/conf" .calcurse || exit 1
"$CALCURSE" -D "$PWD/.calcurse" -i "$DATA_DIR/ical-001.ical" "$CALCURSE" -D "$PWD/.calcurse" -i "$DATA_DIR/ical-001.ical"
"$CALCURSE" -D "$PWD/.calcurse" -s01/01/1902 -r2 "$CALCURSE" -D "$PWD/.calcurse" -s01/01/1980 -r2
"$CALCURSE" -D "$PWD/.calcurse" -t "$CALCURSE" -D "$PWD/.calcurse" -t
rm -rf .calcurse || exit 1 rm -rf .calcurse || exit 1
elif [ "$1" = 'expected' ]; then elif [ "$1" = 'expected' ]; then
cat <<EOD cat <<EOD
Import process report: 0017 lines read Import process report: 0017 lines read
1 app / 0 events / 1 todo / 0 skipped 1 app / 0 events / 1 todo / 0 skipped
01/01/02: 01/01/80:
- 00:01 -> ..:.. - 00:01 -> ..:..
Calibrator's Calibrator's
01/02/02: 01/02/80:
- ..:.. -> 09:18 - ..:.. -> 09:18
Calibrator's Calibrator's
to do: to do: