Skip to content

Commit

Permalink
[test suite] add open/close --fw-timeout test
Browse files Browse the repository at this point in the history
  • Loading branch information
mrash committed Nov 13, 2015
1 parent 97faa2d commit 51de939
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions test/tests/rijndael_hmac_cmd_open_close.pl
Expand Up @@ -70,6 +70,24 @@
'key_file' => $cf{'rc_hmac_b64_key'},
'server_positive_output_matches' => [qr/Timer expired/],
},
{
'category' => 'Rijndael+HMAC',
'subcategory' => 'client+server',
'detail' => 'cmd open/close cycle client timeout',
'function' => \&spa_cmd_open_close_exec_cycle,
'cmdline' => "$default_client_hmac_args --fw-timeout 2",
'fwknopd_cmdline' => "$fwknopdCmd -c $cf{'def'} -a $cf{'hmac_cmd_open_close_cycle_access'} " .
"-d $default_digest_file -p $default_pid_file $intf_str",
'fw_rule_created' => $REQUIRE_NO_NEW_RULE,
'cmd_cycle_open_file' => ['/tmp/127.0.0.2'],
'cmd_cycle_close_file' => ['/tmp/2127.0.0.2'],
'key_file' => $cf{'rc_hmac_b64_key'},
'server_positive_output_matches' => [
qr/Timer expired/,
qr/Running.*CLOSE.*in 2 seconds/,
],
},

{
'category' => 'Rijndael+HMAC',
'subcategory' => 'client+server',
Expand Down

0 comments on commit 51de939

Please sign in to comment.