After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 593563 - timeout-test wants to test HTTPS even if SSL support wasn't built
timeout-test wants to test HTTPS even if SSL support wasn't built
Status: RESOLVED FIXED
Product: libsoup
Classification: Core
Component: Misc
unspecified
Other Linux
: Normal normal
: ---
Assigned To: libsoup-maint@gnome.bugs
libsoup-maint@gnome.bugs
Depends on:
Blocks:
 
 
Reported: 2009-08-30 15:34 UTC by Marvin Schmidt
Modified: 2009-08-31 16:16 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Only run HTTPS tests if HAVE_SSL is defined (887 bytes, patch)
2009-08-30 15:34 UTC, Marvin Schmidt
none Details | Review

Description Marvin Schmidt 2009-08-30 15:34:40 UTC
Created attachment 142073 [details] [review]
Only run HTTPS tests if HAVE_SSL is defined

./configure --disable; make; make check

leads to

timeout-test: 4 error(s). Run with '-d' for details
FAIL: timeout-test

running the test with details reveals the problem:

$ ./timeout-test -d
http
  async
    fast
    slow
  sync
    fast
    slow
https
  async
    fast
      FAILED: 6 SSL support not available (expected 200 OK)
    slow
      FAILED: 6 SSL support not available (expected 7 Connection terminated
unexpectedly)
  sync
    fast
      FAILED: 6 SSL support not available (expected 200 OK)
    slow
      FAILED: 6 SSL support not available (expected 7 Connection terminated
unexpectedly)

timeout-test: 4 error(s).

The obvious fix is to test HTTPS only if built with SSL support

Best regards
Comment 1 Dan Winship 2009-08-31 16:16:45 UTC
fixed. thanks.