@@ -17,7 +17,7 @@ pass("Running testssl.sh against badssl.com to create a baseline (may take 2~3 m
1717my $okout = ` ./testssl.sh -S -e --freak --logjam --drown --rc4 --sweet32 --breach --winshock --crime --jsonfile tmp.json --color 0 badssl.com` ;
1818my $okjson = json(' tmp.json' );
1919unlink ' tmp.json' ;
20- cmp_ok(@$okjson ,' >' ,10," We have more then 10 findings" ); $tests ++;
20+ cmp_ok(@$okjson ,' >' ,10," We should have more then 10 findings" ); $tests ++;
2121
2222# Expiration
2323pass(" Running testssl against expired.badssl.com" ); $tests ++;
@@ -35,7 +35,7 @@ foreach my $f ( @$json ) {
3535 last ;
3636 }
3737}
38- is($found ,1," We had a finding for this in the JSON output" ); $tests ++;
38+ is($found ,1," We should have a finding for this in the JSON output" ); $tests ++;
3939
4040# Self signed and not-expired
4141pass(" Running testssl against self-signed.badssl.com" ); $tests ++;
@@ -52,7 +52,7 @@ foreach my $f ( @$json ) {
5252 last ;
5353 }
5454}
55- is($found ,1," We had a finding for this in the JSON output" ); $tests ++;
55+ is($found ,1," We should a finding for this in the JSON output" ); $tests ++;
5656
5757like($out , qr / Chain of trust.*?NOT ok.*\( self signed\) / ," Chain of trust should fail because of self signed" ); $tests ++;
5858$found = 0;
@@ -64,7 +64,7 @@ foreach my $f ( @$json ) {
6464 last ;
6565 }
6666}
67- is($found ,1," We had a finding for this in the JSON output" ); $tests ++;
67+ is($found ,1," We should have a finding for this in the JSON output" ); $tests ++;
6868
6969like($okout , qr / Chain of trust[^\n ]*?Ok/ ," Chain of trust should be ok" ); $tests ++;
7070$found = 0;
@@ -77,7 +77,7 @@ foreach my $f ( @$okjson ) {
7777 last ;
7878 }
7979}
80- is($found ,1," We had a finding for this in the JSON output" ); $tests ++;
80+ is($found ,1," We should have a finding for this in the JSON output" ); $tests ++;
8181
8282# Wrong host
8383# pass("Running testssl against wrong.host.badssl.com"); $tests++;
@@ -111,7 +111,7 @@ foreach my $f ( @$json ) {
111111 last ;
112112 }
113113}
114- is($found ,1," We had a finding for this in the JSON output" ); $tests ++;
114+ is($found ,1," We should have a finding for this in the JSON output" ); $tests ++;
115115
116116# TODO: RSA 8192
117117
0 commit comments