summaryrefslogtreecommitdiffstats
path: root/test/x509aux.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/x509aux.c')
-rw-r--r--test/x509aux.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/test/x509aux.c b/test/x509aux.c
index 4488aa68ca..ec2618d780 100644
--- a/test/x509aux.c
+++ b/test/x509aux.c
@@ -161,14 +161,13 @@ static int test_certs(int num)
return 0;
}
+OPT_TEST_DECLARE_USAGE("certfile...\n")
+
int setup_tests(void)
{
size_t n = test_get_argument_count();
-
- if (n == 0) {
- TEST_error("usage: %s certfile...", test_get_program_name());
+ if (n == 0)
return 0;
- }
ADD_ALL_TESTS(test_certs, (int)n);
return 1;