[test suite] added client -f firewall timeout tests

This commit is contained in:
Michael Rash
2013-05-19 15:29:20 -04:00
parent 16f96a3e53
commit 72ab0bf5d5
+24
View File
@@ -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',