[test suite] HTTP proxy tests for client/spa_comm.c test coverage
authorMichael Rash <mbr@cipherdyne.org>
Sat, 29 Mar 2014 19:05:52 +0000 (15:05 -0400)
committerMichael Rash <mbr@cipherdyne.org>
Sat, 29 Mar 2014 19:05:52 +0000 (15:05 -0400)
test/tests/rijndael.pl
test/tests/rijndael_hmac.pl

index 42e3ab4..b676ef1 100644 (file)
         'fw_rule_created' => $NEW_RULE_REQUIRED,
         'fw_rule_removed' => $NEW_RULE_REMOVED,
     },
+
+    {
+        'category' => 'Rijndael',
+        'subcategory' => 'client+server',
+        'detail'   => 'SPA through HTTP proxy',
+        'function' => \&generic_exec,
+        'cmdline'  => "$default_client_args -H $resolve_url_with_port --test",
+        'no_ip_check' => 1,
+        'fw_rule_created' => $REQUIRE_NO_NEW_RULE,
+    },
+
     {
         'category' => 'Rijndael',
         'subcategory' => 'client+server',
index aee9952..9159d75 100644 (file)
         'fw_rule_removed' => $NEW_RULE_REMOVED,
         'key_file' => $cf{'rc_hmac_b64_key'},
     },
+
+    {
+        'category' => 'Rijndael+HMAC',
+        'subcategory' => 'client+server',
+        'detail'   => 'SPA through HTTP proxy',
+        'function' => \&generic_exec,
+        'cmdline'  => "$default_client_hmac_args -H $resolve_url_with_port --test",
+        'no_ip_check' => 1,
+        'fw_rule_created' => $REQUIRE_NO_NEW_RULE,
+    },
+
     {
         'category' => 'Rijndael+HMAC',
         'subcategory' => 'client+server',