diff --git a/t/21_baseline_starttls.t b/t/21_baseline_starttls.t index 15b4873..744ea34 100755 --- a/t/21_baseline_starttls.t +++ b/t/21_baseline_starttls.t @@ -60,14 +60,11 @@ $socket_out = `./testssl.sh $check2run -t pop3 $uri 2>&1`; unlike($socket_out, qr/$socket_regex_bl/, ""); $tests++; -# commented out, bc of travis' limits -# -#printf "\n%s\n", "STARTTLS POP3 unit tests via OpenSSL --> $uri ..."; -# unlink "tmp.json"; -#$openssl_out = `./testssl.sh --ssl-native $check2run -t pop3 $uri 2>&1`; +printf "\n%s\n", "STARTTLS POP3 unit tests via OpenSSL --> $uri ..."; +$openssl_out = `./testssl.sh --ssl-native $check2run -t pop3 $uri 2>&1`; # $openssl_json = json('tmp.json'); -#unlike($openssl_out, qr/$openssl_regex_bl/, ""); -#$tests++; +unlike($openssl_out, qr/$openssl_regex_bl/, ""); +$tests++; $uri="imap.gmx.net:143"; @@ -146,6 +143,12 @@ $tests++; # https://ldapwiki.com/wiki/Public%20LDAP%20Servers $uri="db.debian.org:389"; +printf "\n%s\n", "STARTTLS LDAP unit tests via sockets --> $uri ..."; +$socket_out = `./testssl.sh $check2run -t ldap $uri 2>&1`; +# $socket_json = json('tmp.json'); +unlike($socket_out, qr/$socket_regex_bl/, ""); +$tests++; + printf "\n%s\n", "STARTTLS LDAP unit tests via OpenSSL --> $uri ..."; $openssl_out = `./testssl.sh --ssl-native $check2run -t ldap $uri 2>&1`; # $openssl_json = json('tmp.json'); @@ -153,6 +156,7 @@ unlike($openssl_out, qr/$openssl_regex_bl/, ""); $tests++; + $uri="140.238.219.117:119"; # unlink "tmp.json";