summaryrefslogtreecommitdiff
path: root/test/danetest.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/danetest.c')
-rw-r--r--test/danetest.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/danetest.c b/test/danetest.c
index 2c228ecc52..9b61699999 100644
--- a/test/danetest.c
+++ b/test/danetest.c
@@ -413,6 +413,11 @@ OPT_TEST_DECLARE_USAGE("basedomain CAfile tlsafile\n")
int setup_tests(void)
{
+ if (!test_skip_common_options()) {
+ TEST_error("Error parsing test options\n");
+ return 0;
+ }
+
if (!TEST_ptr(basedomain = test_get_argument(0))
|| !TEST_ptr(CAfile = test_get_argument(1))
|| !TEST_ptr(tlsafile = test_get_argument(2)))