[Freeassociation-devel] libical-0.44 tests failure: expected?

Peter Volkov peter.volkov at gmail.com
Thu Nov 5 09:10:40 PST 2009


Hi, I've tried to run libical-0.44 testsuite but lot's of test fail.
I've tried to investigate one failure:

not ok 24 - America/Los_Angeles local time is 2000-11-03 10:30:30

and it looks like it should not fail.

20001103T183030Z really should be 2000-11-03 10:30:30 at
America/Los_Angeles timezone:

http://www.timeanddate.com/worldclock/fixedtime.html?day=3&month=11&year=2000&hour=18&min=30&sec=0&p1=0

while printf put in regression.c shows that ical returns 11:30.

I've tried to play with dates and for some reason libical assumes that
daylight saving is disabled only after 20001105 while it should do this
on 20001101:

America/Los_Angeles  Sun Oct 29 08:59:59 2000 UTC = Sun Oct 29 01:59:59 2000 PDT isdst=1
America/Los_Angeles  Sun Oct 29 09:00:00 2000 UTC = Sun Oct 29 01:00:00 2000 PST isdst=0


The question is, are this failures expected or is my system broken?

Thanks in advance, for your time.

Full gzipped log is in attachement.

not ok 23 - Converted hour in America/Los_Angeles is 10
not ok 24 - America/Los_Angeles local time is 2000-11-03 10:30:30
not ok 26 - Converted time in zone America/New_York is 2000-11-03 13:30:30
not ok 27 - Converted time +200d in zone America/New_York is 2001-05-22 14:30:30
not ok 28 - Converted time in zone America/Los_Angeles is 2000-11-03 10:30:30
not ok 29 - Converted time +200d in zone America/Los_Angeles is 2001-05-22 11:30:30
not ok 32 - icaltime_from_timet_with_zone(tt,0,zone) as zone
not ok 47 - Converted hour in America/Los_Angeles is 10
not ok 48 - America/Los_Angeles local time is 2000-11-03 10:30:30
not ok 50 - Converted time in zone America/New_York is 2000-11-03 13:30:30
not ok 51 - Converted time +200d in zone America/New_York is 2001-05-22 14:30:30
not ok 52 - Converted time in zone America/Los_Angeles is 2000-11-03 10:30:30
not ok 53 - Converted time +200d in zone America/Los_Angeles is 2001-05-22 11:30:30
not ok 56 - icaltime_from_timet_with_zone(tt,0,zone) as zone
not ok 71 - Converted hour in America/Los_Angeles is 10
not ok 72 - America/Los_Angeles local time is 2000-11-03 10:30:30
not ok 74 - Converted time in zone America/New_York is 2000-11-03 13:30:30
not ok 75 - Converted time +200d in zone America/New_York is 2001-05-22 14:30:30
not ok 76 - Converted time in zone America/Los_Angeles is 2000-11-03 10:30:30
not ok 77 - Converted time +200d in zone America/Los_Angeles is 2001-05-22 11:30:30
not ok 80 - icaltime_from_timet_with_zone(tt,0,zone) as zone
not ok 95 - Converted hour in America/Los_Angeles is 10
not ok 96 - America/Los_Angeles local time is 2000-11-03 10:30:30
not ok 98 - Converted time in zone America/New_York is 2000-11-03 13:30:30
not ok 99 - Converted time +200d in zone America/New_York is 2001-05-22 14:30:30
not ok 100 - Converted time in zone America/Los_Angeles is 2000-11-03 10:30:30
not ok 101 - Converted time +200d in zone America/Los_Angeles is 2001-05-22 11:30:30
not ok 104 - icaltime_from_timet_with_zone(tt,0,zone) as zone
not ok 119 - Converted hour in America/Los_Angeles is 10
not ok 120 - America/Los_Angeles local time is 2000-11-03 10:30:30
not ok 122 - Converted time in zone America/New_York is 2000-11-03 13:30:30
not ok 123 - Converted time +200d in zone America/New_York is 2001-05-22 14:30:30
not ok 124 - Converted time in zone America/Los_Angeles is 2000-11-03 10:30:30
not ok 125 - Converted time +200d in zone America/Los_Angeles is 2001-05-22 11:30:30
not ok 209 - FREQ=YEARLY;UNTIL=20000131T090000Z;INTERVAL=1;BYDAY=-1TU,3WE,-4FR,SA,SU;BYYEARDAY=34,65,76,78;BYMONTH=1,2,3,4,8
not ok 210 - FREQ=DAILY;COUNT=3;INTERVAL=1;BYDAY=-1TU,3WE,-4FR,SA,SU;BYYEARDAY=34,65,76,78;BYMONTH=1,2,3,4,8
not ok 325 -    expecting total of 23 events
not ok 327 - parsed matches original
not ok 344 - TODO find overlaps 1
not ok 345 - TODO find overlaps 1
not ok 346 - TODO find overlaps 1
not ok 347 - America/Los_Angeles
not ok 349 - America/New_York
not ok 350 - America/New_York
not ok 351 - America/Los_Angeles w/ duration
not ok 467 - parsed triggers
not ok 468 - TRIGGER;VALUE=DATE-TIME:19970101T120000
not ok 469 - TRIGGER;VALUE=DURATION:P3DT3H50M45S
not ok 470 - TRIGGER;VALUE=DATE-TIME:19970101T120000
not ok 471 - TRIGGER;VALUE=DURATION:P3DT3H50M45S
not ok 472 - TRIGGER;VALUE=DATE-TIME:19970101T120000
not ok 473 - TRIGGER;VALUE=DURATION:P3DT3H50M45S
not ok 474 - TRIGGER;VALUE=DATE-TIME:19970101T120000
not ok 475 - TRIGGER;VALUE=DURATION:P3DT3H50M45S
not ok 477 - RDATE as DATE-TIME
not ok 478 - RDATE, as PERIOD
not ok 479 - RDATE, as DATE-TIME, VALUE=DATE-TIME
not ok 480 - RDATE, as PERIOD, VALUE=DATE-TIME
not ok 481 - RDATE, as DATE-TIME, VALUE=PERIOD
not ok 482 - RDATE, as PERIOD, VALUE=PERIOD
not ok 483 - RDATE, as DATE-TIME, VALUE=BINARY
not ok 484 - RDAE, as PERIOD, VALUE=BINARY
not ok 486 - parsed version with bad chars, etc
not ok 487 - Set attendee parameter
not ok 488 - Set attendee parameter value
not ok 492 - icalcomponent_as_ical_string()
not ok 503 - icalproperty_get_x() works
not ok 505 - COMMENT parses param
not ok 521 - icalproperty_new_from_string()
not ok 576 - icalproperty_as_ical_string()
not ok 577 - icalproperty_new_clone()
not ok 580 - test results of child component
not ok 599 - Start is 1997-08-01 12:00:00 /softwarestudio.org/Olson_20010626_2/Europe/Rome
not ok 600 - End is 1997-08-01 13:30:00 /softwarestudio.org/Olson_20010626_2/Europe/Rome
not ok 628 - #I12. Counter to #C1. Changed DTEND to DURATION. - parsing
not ok 651 - build large, complex component
not ok 662 - icalproperty_as_ical_string()


-- 
Peter.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: libical.txt.gz
Type: application/x-gzip
Size: 22744 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/libical-devel/attachments/20091105/f6f527ca/attachment.bin>


More information about the libical-devel mailing list