Summary: | wocky-connector-test crashes in windows | ||
---|---|---|---|
Product: | Wocky | Reporter: | Siraj Razick <siraj> |
Component: | General | Assignee: | Siraj Razick <siraj> |
Status: | RESOLVED FIXED | QA Contact: | Telepathy bugs list <telepathy-bugs> |
Severity: | normal | ||
Priority: | medium | CC: | nicolas |
Version: | git master | ||
Hardware: | x86 (IA32) | ||
OS: | Windows (All) | ||
URL: | http://cgit.collabora.com/git/user/siraj/wocky.git/commit/?h=bug_43844&id=c58e7bb48173214a6b09268cad2d2fab5c9a1e95 | ||
Whiteboard: | |||
i915 platform: | i915 features: | ||
Attachments: | wocky log : windows |
Description
Siraj Razick
2011-12-14 17:14:13 UTC
Created attachment 54517 [details]
wocky log : windows
wocky debug log
from the log it was so obvious that the error was due the paths of the cert files, it was hard coded during the cross compile so it never worked on windows. so i guess the problem is fix.. need to find a clean way to solve this. maybe using relative path when running it ? so that certs/ directory is picked up from current path the test-case? (only for windows) or when cross compiling is detect . patch Is this a fix for the path problem? I don't understand. (In reply to comment #4) > Is this a fix for the path problem? I don't understand. stefw told me to add an assert to make the problem more obvious by adding some asserts I can't remember why we discussed it else were and not here. << Updated by Stef Walter about 1 month ago Comment Edit Did you send a patch upstream to give a better error message in this corner case? We discussed doing this on IRC, so that the next person who comes along doesn't have to figure out the same thing. >> > add_certfiles: wocky-tls.c:545: checking /home\siraj\projects\collabora\windows\git\tp-windows\wocky\tests\certs\ca-0-cert.pem
Looks like the certificate path are all wrong.
Ok, didn't see the link. Basically you didn't properly set the path at build time and it fail, I agree this patch should make it more obvious. ++ Correction, this fails the tests for me. Ok, this is because I removed the CRL, it builds because I forgot to remove the -DTLS_CRL_DIR in the tests Makefile.am. Fixed and merged. |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.