From 5c32ba3780e94e2bc2f79525a97d9e8d96ecd4b7 Mon Sep 17 00:00:00 2001 From: doug Date: Thu, 22 Jan 2015 05:48:00 +0000 Subject: [PATCH] Make it obvious which openssl test complained and whether it was expected. ok bcook@ --- regress/usr.bin/openssl/options/optionstest.c | 7 +++++-- 1 file 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 * @@ -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); } -- 2.20.1