added test for --test mode in the fwknop client
This commit is contained in:
parent
0015da4442
commit
644b9e9432
@ -329,6 +329,17 @@ my @tests = (
|
||||
'exec_err' => $YES,
|
||||
'fatal' => $NO
|
||||
},
|
||||
{
|
||||
'category' => 'preliminaries',
|
||||
'subcategory' => 'client',
|
||||
'detail' => '--test mode, packet not sent',
|
||||
'err_msg' => '--test mode, packet sent?',
|
||||
'function' => \&generic_exec,
|
||||
'positive_output_matches' => [qr/test\smode\senabled/],
|
||||
'cmdline' => "$default_client_args --test",
|
||||
'fatal' => $NO
|
||||
},
|
||||
|
||||
{
|
||||
'category' => 'preliminaries',
|
||||
'subcategory' => 'client',
|
||||
@ -358,6 +369,7 @@ my @tests = (
|
||||
'exec_err' => $YES,
|
||||
'fatal' => $NO
|
||||
},
|
||||
|
||||
{
|
||||
'category' => 'preliminaries',
|
||||
'subcategory' => 'server',
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user