[test suite] added client -f firewall timeout tests
This commit is contained in:
@@ -143,7 +143,31 @@
|
||||
},
|
||||
|
||||
{
|
||||
'category' => 'Rijndael+HMAC',
|
||||
'subcategory' => 'client+server',
|
||||
'detail' => '-f client timeout',
|
||||
'function' => \&spa_cycle,
|
||||
'cmdline' => "$default_client_hmac_args -f 2",
|
||||
'fwknopd_cmdline' => "LD_LIBRARY_PATH=$lib_dir $valgrind_str " .
|
||||
"$fwknopdCmd -c $cf{'def'} -a $cf{'hmac_access'} " .
|
||||
"-d $default_digest_file -p $default_pid_file $intf_str",
|
||||
'fw_rule_created' => $NEW_RULE_REQUIRED,
|
||||
'fw_rule_removed' => $NEW_RULE_REMOVED,
|
||||
'key_file' => $cf{'rc_hmac_b64_key'},
|
||||
'fatal' => $NO
|
||||
},
|
||||
{
|
||||
'category' => 'Rijndael+HMAC',
|
||||
'subcategory' => 'client+server',
|
||||
'detail' => '-f -1 client timeout err',
|
||||
'function' => \&generic_exec,
|
||||
'cmdline' => qq|$default_client_hmac_args -f "-2"|,
|
||||
'positive_output_matches' => [qr/timeout\smust\sbe\swithin/],
|
||||
'exec_err' => $YES,
|
||||
'fatal' => $NO
|
||||
},
|
||||
|
||||
{
|
||||
'category' => 'Rijndael+HMAC',
|
||||
'subcategory' => 'client->server compatibility',
|
||||
'detail' => 'Cygwin Windows 2008',
|
||||
|
||||
Reference in New Issue
Block a user