Changeset 1307:23026106e439 in nginx-tests


Ignore:
Timestamp:
03/22/18 11:18:33 (2 years ago)
Author:
Sergey Kandaurov <pluknet@…>
Branch:
default
Phase:
public
Message:

Tests: unbreak stream_ssl_preread_alpn.t on OpenSSL < 1.0.2h.

Do not check return value for empty ALPN test case, since older OpenSSL
versions tolerate empty strings. The test is still useful for coverage.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • stream_ssl_preread_alpn.t

    r1306 r1307  
    101101}
    102102
    103 $t->try_run('no ssl_preread_alpn_protocols')->plan(6);
     103$t->try_run('no ssl_preread_alpn_protocols')->plan(5);
    104104
    105105###############################################################################
     
    115115is(get_ssl(8081, 'foo', 'bar'), $p3, 'alpn many');
    116116
    117 # fallback to an empty value
    118 
    119 ok(!get_ssl(8081, ''), 'alpn empty');
     117get_ssl(8081, '');
    120118
    121119###############################################################################
Note: See TracChangeset for help on using the changeset viewer.