Skip to content

Commit 49d321c

Browse files
committed
Add "command not found"
1 parent 191efdd commit 49d321c

6 files changed

Lines changed: 11 additions & 11 deletions

t/10_baseline_ipv4_http.t

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@ my $uri="google.com";
2020
my $socket_out="";
2121
my $openssl_out="";
2222
# Blacklists we use to trigger an error:
23-
my $socket_regex_bl='(e|E)rror|\.\/testssl\.sh: line |(f|F)atal';
24-
my $openssl_regex_bl='(e|E)rror|(f|F)atal|\.\/testssl\.sh: line |Oops|s_client connect problem';
23+
my $socket_regex_bl='(e|E)rror|\.\/testssl\.sh: line |(f|F)atal|(c|C)ommand not found';
24+
my $openssl_regex_bl='(e|E)rror|(f|F)atal|\.\/testssl\.sh: line |Oops|s_client connect problem|(c|C)ommand not found';
2525
my $json_regex_bl='(id".*:\s"scanProblem"|severity".*:\s"FATAL"|"Scan interrupted")';
2626

2727
my $socket_json="";

t/11_baseline_ipv6_http.t.DISABLED

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@ my $uri="";
2020
my $socket_out="";
2121
my $openssl_out="";
2222
# Blacklists we use to trigger an error:
23-
my $socket_regex_bl='(e|E)rror|\.\/testssl\.sh: line |(f|F)atal';
24-
my $openssl_regex_bl='(e|E)rror|(f|F)atal|\.\/testssl\.sh: line |Oops|s_client connect problem';
23+
my $socket_regex_bl='(e|E)rror|\.\/testssl\.sh: line |(f|F)atal|(c|C)ommand not found';
24+
my $openssl_regex_bl='(e|E)rror|(f|F)atal|\.\/testssl\.sh: line |Oops|s_client connect problem|(c|C)ommand not found';
2525

2626
# my $socket_json="";
2727
# my $openssl_json="";

t/21_baseline_starttls.t

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@ my $uri="";
2323
my $socket_out="";
2424
my $openssl_out="";
2525
# Blacklists we use to trigger an error:
26-
my $socket_regex_bl='(e|E)rror|\.\/testssl\.sh: line |(f|F)atal';
27-
my $openssl_regex_bl='(e|E)rror|(f|F)atal|\.\/testssl\.sh: line |Oops|s_client connect problem';
26+
my $socket_regex_bl='(e|E)rror|\.\/testssl\.sh: line |(f|F)atal|(c|C)ommand not found';
27+
my $openssl_regex_bl='(e|E)rror|(f|F)atal|\.\/testssl\.sh: line |Oops|s_client connect problem|(c|C)ommand not found';
2828

2929
# my $socket_json="";
3030
# my $openssl_json="";

t/23_client_simulation.t

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ my $uri="";
1818
my $socket_out="";
1919
my $openssl_out="";
2020
# Blacklists we use to trigger an error:
21-
my $socket_regex_bl='(e|E)rror|\.\/testssl\.sh: line |(f|F)atal';
22-
my $openssl_regex_bl='(e|E)rror|(f|F)atal|\.\/testssl\.sh: line |Oops|s_client connect problem';
21+
my $socket_regex_bl='(e|E)rror|\.\/testssl\.sh: line |(f|F)atal|(c|C)ommand not found';
22+
my $openssl_regex_bl='(e|E)rror|(f|F)atal|\.\/testssl\.sh: line |Oops|s_client connect problem|(c|C)ommand not found';
2323

2424
# my $socket_json="";
2525
# my $openssl_json="";

t/31_isJSON_valid.t

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ my $uri="";
1414
my $json="";
1515
my $out="";
1616
# Blacklists we use to trigger an error:
17-
my $socket_regex_bl='(e|E)rror|\.\/testssl\.sh: line |(f|F)atal';
18-
my $openssl_regex_bl='(e|E)rror|(f|F)atal|\.\/testssl\.sh: line |Oops|s_client connect problem';
17+
my $socket_regex_bl='(e|E)rror|\.\/testssl\.sh: line |(f|F)atal|(c|C)ommand not found';
18+
my $openssl_regex_bl='(e|E)rror|(f|F)atal|\.\/testssl\.sh: line |Oops|s_client connect problem|(c|C)ommand not found';
1919

2020
die "Unable to open $prg" unless -f $prg;
2121

t/Readme.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,5 @@
66
* 50-69: Are the results what I expect (server side)?
77

88
Please help to write Travis/CI tests! Documentation can be found [here](https://perldoc.perl.org/Test/More.html).
9-
You can consult the existing code here. Feel free to use `20_baseline_ipv4_http.t` or `23_client_simulation.t` as a
9+
You can consult the existing code here. Feel free to use `10_baseline_ipv4_http.t` or `23_client_simulation.t` as a
1010
template.

0 commit comments

Comments
 (0)