aboutsummaryrefslogtreecommitdiff
path: root/test/gosttest.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/gosttest.c')
-rw-r--r--test/gosttest.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/gosttest.c b/test/gosttest.c
index a03521d..7737a68 100644
--- a/test/gosttest.c
+++ b/test/gosttest.c
@@ -82,6 +82,11 @@ OPT_TEST_DECLARE_USAGE("certfile1 privkeyfile1 certfile2 privkeyfile2\n")
int setup_tests(void)
{
+ if (!test_skip_common_options()) {
+ TEST_error("Error parsing test options\n");
+ return 0;
+ }
+
if (!TEST_ptr(cert1 = test_get_argument(0))
|| !TEST_ptr(privkey1 = test_get_argument(1))
|| !TEST_ptr(cert2 = test_get_argument(2))