diff options
author | 2015-01-22 05:48:00 +0000 | |
---|---|---|
committer | 2015-01-22 05:48:00 +0000 | |
commit | 5c32ba3780e94e2bc2f79525a97d9e8d96ecd4b7 (patch) | |
tree | 8a4c67be2db43d16df25480f319b6fe8e7fa992c | |
parent | Recognise 'F'/'f' constant suffix for single precision floating point. (diff) | |
download | wireguard-openbsd-5c32ba3780e94e2bc2f79525a97d9e8d96ecd4b7.tar.xz wireguard-openbsd-5c32ba3780e94e2bc2f79525a97d9e8d96ecd4b7.zip |
Make it obvious which openssl test complained and whether it was expected.
ok bcook@
-rw-r--r-- | regress/usr.bin/openssl/options/optionstest.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/regress/usr.bin/openssl/options/optionstest.c b/regress/usr.bin/openssl/options/optionstest.c index c10c70b8c3f..fe66a2d711f 100644 --- a/regress/usr.bin/openssl/options/optionstest.c +++ b/regress/usr.bin/openssl/options/optionstest.c @@ -1,4 +1,4 @@ -/* $OpenBSD: optionstest.c,v 1.7 2014/12/28 16:34:23 jsing Exp $ */ +/* $OpenBSD: optionstest.c,v 1.8 2015/01/22 05:48:00 doug Exp $ */ /* * Copyright (c) 2014 Joel Sing <jsing@openbsd.org> * @@ -370,8 +370,11 @@ main(int argc, char **argv) int failed = 0; size_t i; - for (i = 0; i < N_OPTIONS_TESTS; i++) + for (i = 0; i < N_OPTIONS_TESTS; i++) { + printf("Test %d%s\n", (i + 1), options_tests[i].want == 0 ? + "" : " is expected to complain"); failed += do_options_test(i + 1, &options_tests[i]); + } return (failed); } |