diff options
author | doug <> | 2015-01-22 05:48:00 +0000 |
---|---|---|
committer | doug <> | 2015-01-22 05:48:00 +0000 |
commit | 65761bc9c2faf702c095e77e75e6c713cb579cd8 (patch) | |
tree | c80d4e4ddb2a082d727f10bc11c30449967adb9c /src | |
parent | d0c1b125a8d559134ebf2f9e48bceedaafc58367 (diff) | |
download | openbsd-65761bc9c2faf702c095e77e75e6c713cb579cd8.tar.gz openbsd-65761bc9c2faf702c095e77e75e6c713cb579cd8.tar.bz2 openbsd-65761bc9c2faf702c095e77e75e6c713cb579cd8.zip |
Make it obvious which openssl test complained and whether it was expected.
ok bcook@
Diffstat (limited to 'src')
-rw-r--r-- | src/regress/usr.bin/openssl/options/optionstest.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/regress/usr.bin/openssl/options/optionstest.c b/src/regress/usr.bin/openssl/options/optionstest.c index c10c70b8c3..fe66a2d711 100644 --- a/src/regress/usr.bin/openssl/options/optionstest.c +++ b/src/regress/usr.bin/openssl/options/optionstest.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: optionstest.c,v 1.7 2014/12/28 16:34:23 jsing Exp $ */ | 1 | /* $OpenBSD: optionstest.c,v 1.8 2015/01/22 05:48:00 doug Exp $ */ |
2 | /* | 2 | /* |
3 | * Copyright (c) 2014 Joel Sing <jsing@openbsd.org> | 3 | * Copyright (c) 2014 Joel Sing <jsing@openbsd.org> |
4 | * | 4 | * |
@@ -370,8 +370,11 @@ main(int argc, char **argv) | |||
370 | int failed = 0; | 370 | int failed = 0; |
371 | size_t i; | 371 | size_t i; |
372 | 372 | ||
373 | for (i = 0; i < N_OPTIONS_TESTS; i++) | 373 | for (i = 0; i < N_OPTIONS_TESTS; i++) { |
374 | printf("Test %d%s\n", (i + 1), options_tests[i].want == 0 ? | ||
375 | "" : " is expected to complain"); | ||
374 | failed += do_options_test(i + 1, &options_tests[i]); | 376 | failed += do_options_test(i + 1, &options_tests[i]); |
377 | } | ||
375 | 378 | ||
376 | return (failed); | 379 | return (failed); |
377 | } | 380 | } |