diff options
author | Dr. David von Oheimb <David.von.Oheimb@siemens.com> | 2021-04-03 14:05:09 +0200 |
---|---|---|
committer | Dr. David von Oheimb <dev@ddvo.net> | 2021-04-14 16:51:11 +0200 |
commit | f56c9c7c942cd82595bb47808c732048141dc72d (patch) | |
tree | b35fb61f2d0ce7af0482b9baf6632e91877f0cf9 /test/testutil.h | |
parent | 3ad6030948ac999de165f6185116459d74644e8d (diff) | |
download | openssl-f56c9c7c942cd82595bb47808c732048141dc72d.tar.gz |
APPS and TEST: Make sure prog name is set for usage output
Reviewed-by: Paul Dale <pauli@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/14841)
Diffstat (limited to 'test/testutil.h')
-rw-r--r-- | test/testutil.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/test/testutil.h b/test/testutil.h index 8457a2a384..9311e2ce58 100644 --- a/test/testutil.h +++ b/test/testutil.h @@ -174,9 +174,9 @@ * the test system. * * Tests that need to use opt_next() need to specify - * (1) test_get_options() containing an options[] (Which should include either - * OPT_TEST_OPTIONS_DEFAULT_USAGE OR - * OPT_TEST_OPTIONS_WITH_EXTRA_USAGE). + * (1) test_get_options() containing an options[] which should include either + * OPT_TEST_OPTIONS_DEFAULT_USAGE or + * OPT_TEST_OPTIONS_WITH_EXTRA_USAGE(...). * (2) An enum outside the test_get_options() which contains OPT_TEST_ENUM, as * well as the additional options that need to be handled. * (3) case OPT_TEST_CASES: break; inside the opt_next() handling code. @@ -232,7 +232,7 @@ void cleanup_tests(void); * Used to supply test specific command line options, * If non optional parameters are used, then the first entry in the OPTIONS[] * should contain: - * { OPT_HELP_STR, 1, '-', "list of non optional commandline params\n"}, + * { OPT_HELP_STR, 1, '-', "<list of non-optional commandline params>\n"}, * The last entry should always be { NULL }. * * Run the test locally using './test/test_name -help' to check the usage. |