added test for --test mode in the fwknop client

This commit is contained in:
Michael Rash 2011-11-22 22:40:26 -05:00
parent 0015da4442
commit 644b9e9432

View File

@ -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',