http://bugzilla.novell.com/show_bug.cgi?id=324181

http://bugzilla.novell.com/show_bug.cgi?id=324181#c2


--- Comment #2 from Peter Dettman <[email protected]> 2010-02-02 
09:03:09 UTC ---
Created an attachment (id=340144)
 --> (http://bugzilla.novell.com/attachment.cgi?id=340144)
Patch to fix the code of the affected test cases

The problem is in the test case itself.

I checked that my localtime differs from UTC, as described above. I was able to
reproduce the test failures using 'make check' in Mono.Security.

The reason the tests fail is that the ASN1Convert.ToDateTime method returns a
UTC DateTime (the extra test for profile 2.0 confirms this), and this needs to
be converted back to local time before comparing with the original 'expected'
value, which the attached patch does.

'make check' confirms the test cases now pass.

-- 
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
_______________________________________________
mono-bugs maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-bugs

Reply via email to