From a596001bf06b48230dc4f7adb9eab89d7f500d14 Mon Sep 17 00:00:00 2001 From: Frank Breedijk Date: Sun, 17 Jul 2016 21:28:15 +0200 Subject: [PATCH] All unit tests consistent again! --- t/02_client_sims_old.t | 4 ++-- t/03_client_sims_intermediate.t | 4 ++-- t/04_client_sims_modern.t | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/t/02_client_sims_old.t b/t/02_client_sims_old.t index 01f7fc7..6062c68 100755 --- a/t/02_client_sims_old.t +++ b/t/02_client_sims_old.t @@ -10,12 +10,12 @@ my $tests = 0; pass("Running openssl based client simulations against mozilla-old.badssl.com"); $tests++; my $opensslout = `./testssl.sh -c --ssl-native --jsonfile tmp.json --color 0 mozilla-old.badssl.com`; my $openssl = json('tmp.json'); -unlike($opensslout, qr/Running browser simulations via sockets/, "Tests didn't run via sockets"); $tests++; +unlike($opensslout, qr/Running client simulations via sockets/, "Tests didn't run via sockets"); $tests++; pass("Running socket based client simulations against mozilla-old.badssl.com"); $tests++; my $socketout = `./testssl.sh -c --jsonfile tmp.json --color 0 mozilla-old.badssl.com`; my $socket = json('tmp.json'); -like($socketout, qr/Running browser simulations via sockets/, "Tests ran via sockets"); $tests++; +like($socketout, qr/Running client simulations via sockets/, "Tests ran via sockets"); $tests++; my $i = 0; foreach my $o ( @$openssl ) { diff --git a/t/03_client_sims_intermediate.t b/t/03_client_sims_intermediate.t index b3620c1..4bf682a 100755 --- a/t/03_client_sims_intermediate.t +++ b/t/03_client_sims_intermediate.t @@ -10,12 +10,12 @@ my $tests = 0; pass("Running openssl based client simulations against mozilla-intermediate.badssl.com"); $tests++; my $opensslout = `./testssl.sh -c --ssl-native --jsonfile tmp.json --color 0 mozilla-intermediate.badssl.com`; my $openssl = json('tmp.json'); -unlike($opensslout, qr/Running browser simulations via sockets/, "Tests didn't run via sockets"); $tests++; +unlike($opensslout, qr/Running client simulations via sockets/, "Tests didn't run via sockets"); $tests++; pass("Running socket based client simulations against mozilla-intermediate.badssl.com"); $tests++; my $socketout = `./testssl.sh -c --jsonfile tmp.json --color 0 mozilla-intermediate.badssl.com`; my $socket = json('tmp.json'); -like($socketout, qr/Running browser simulations via sockets/, "Tests ran via sockets"); $tests++; +like($socketout, qr/Running client simulations via sockets/, "Tests ran via sockets"); $tests++; my $i = 0; foreach my $o ( @$openssl ) { diff --git a/t/04_client_sims_modern.t b/t/04_client_sims_modern.t index 1520cbc..1ed4684 100755 --- a/t/04_client_sims_modern.t +++ b/t/04_client_sims_modern.t @@ -10,12 +10,12 @@ my $tests = 0; pass("Running openssl based client simulations against mozilla-modern.badssl.com"); $tests++; my $opensslout = `./testssl.sh -c --ssl-native --jsonfile tmp.json --color 0 mozilla-modern.badssl.com`; my $openssl = json('tmp.json'); -unlike($opensslout, qr/Running browser simulations via sockets/, "Tests didn't run via sockets"); $tests++; +unlike($opensslout, qr/Running client simulations via sockets/, "Tests didn't run via sockets"); $tests++; pass("Running socket based client simulations against mozilla-modern.badssl.com"); $tests++; my $socketout = `./testssl.sh -c --jsonfile tmp.json --color 0 mozilla-modern.badssl.com`; my $socket = json('tmp.json'); -like($socketout, qr/Running browser simulations via sockets/, "Tests ran via sockets"); $tests++; +like($socketout, qr/Running client simulations via sockets/, "Tests ran via sockets"); $tests++; my $i = 0; foreach my $o ( @$openssl ) {