https://redmine.lighttpd.net/https://redmine.lighttpd.net/favicon.ico?13667327412019-02-26T19:36:25Zlighty labsLighttpd - Bug #2936: Error in mod_secdownload testhttps://redmine.lighttpd.net/issues/2936?journal_id=116852019-02-26T19:36:25Zvissenkom123
<ul></ul><p>Relevant section from LastTest.log:</p>
<pre>
26/32 Testing: mod-secdownload.t
26/32 Test: mod-secdownload.t
Command: "/home/vissenkom/Downloads/lighttpd-1.4.53/tests/wrapper.sh" "/home/vissenkom/Downloads/lighttpd-1.4.53/tests" "/home/vissenkom/Downloads/lighttpd-1.4.53/build" "/home/vissenkom/Downloads/lighttpd-1.4.53/tests/mod-secdownload.t"
Directory: /home/vissenkom/Downloads/lighttpd-1.4.53/build/tests
"mod-secdownload.t" start time: Feb 26 20:34 CET
Output:
----------------------------------------------------------
1..16
ok 1 - Starting lighttpd
ok 2 - skipping secdownload - direct access
ok 3 - secdownload (md5)
ok 4 - secdownload - gone (timeout) (md5)
ok 5 - secdownload - direct access (md5)
ok 6 - secdownload - timeout (md5)
#
# status failed: expected '200', got '403'
not ok 7 - secdownload (hmac-sha1)
# Failed test 'secdownload (hmac-sha1)'
# at /home/vissenkom/Downloads/lighttpd-1.4.53/tests/mod-secdownload.t line 95.
ok 8 - secdownload - gone (timeout) (hmac-sha1)
ok 9 - secdownload - direct access (hmac-sha1)
#
# status failed: expected '404', got '403'
not ok 10 - secdownload - timeout (hmac-sha1)
# Failed test 'secdownload - timeout (hmac-sha1)'
# at /home/vissenkom/Downloads/lighttpd-1.4.53/tests/mod-secdownload.t line 130.
#
# status failed: expected '200', got '403'
not ok 11 - secdownload (hmac-sha256)
# Failed test 'secdownload (hmac-sha256)'
# at /home/vissenkom/Downloads/lighttpd-1.4.53/tests/mod-secdownload.t line 144.
#
# status failed: expected '200', got '403'
not ok 12 - secdownload (hmac-sha256) with hash-querystr
# Failed test 'secdownload (hmac-sha256) with hash-querystr'
# at /home/vissenkom/Downloads/lighttpd-1.4.53/tests/mod-secdownload.t line 158.
ok 13 - secdownload - gone (timeout) (hmac-sha256)
ok 14 - secdownload - direct access (hmac-sha256)
#
# status failed: expected '404', got '403'
not ok 15 - secdownload - timeout (hmac-sha256)
# Failed test 'secdownload - timeout (hmac-sha256)'
# at /home/vissenkom/Downloads/lighttpd-1.4.53/tests/mod-secdownload.t line 193.
ok 16 - Stopping lighttpd
# Looks like you failed 5 tests of 16.
<end of output>
Test time = 0.11 sec
----------------------------------------------------------
Test Failed.
"mod-secdownload.t" end time: Feb 26 20:34 CET
"mod-secdownload.t" time elapsed: 00:00:00
----------------------------------------------------------
</pre> Lighttpd - Bug #2936: Error in mod_secdownload testhttps://redmine.lighttpd.net/issues/2936?journal_id=116862019-02-26T20:52:02Zvissenkom123
<ul></ul><p>Found the problem, had to build with cmake -DWITH_OPENSSL=ON ..</p> Lighttpd - Bug #2936: Error in mod_secdownload testhttps://redmine.lighttpd.net/issues/2936?journal_id=116872019-02-27T02:40:30Zgstrauss
<ul><li><strong>Status</strong> changed from <i>New</i> to <i>Invalid</i></li><li><strong>Priority</strong> changed from <i>Normal</i> to <i>Low</i></li></ul><p>As <a class="user active user-mention" href="https://redmine.lighttpd.net/users/11700">@vissenkom123</a> noted, some mod_secdownload tests will fail if lighttpd is built without openssl support.</p>