diff options
Diffstat (limited to 'regress/unittests/test_helper/test_helper.c')
-rw-r--r-- | regress/unittests/test_helper/test_helper.c | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/regress/unittests/test_helper/test_helper.c b/regress/unittests/test_helper/test_helper.c index f855137fb..866f3495d 100644 --- a/regress/unittests/test_helper/test_helper.c +++ b/regress/unittests/test_helper/test_helper.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: test_helper.c,v 1.7 2017/03/14 01:10:07 dtucker Exp $ */ | 1 | /* $OpenBSD: test_helper.c,v 1.8 2018/02/08 08:46:20 djm Exp $ */ |
2 | /* | 2 | /* |
3 | * Copyright (c) 2011 Damien Miller <djm@mindrot.org> | 3 | * Copyright (c) 2011 Damien Miller <djm@mindrot.org> |
4 | * | 4 | * |
@@ -166,6 +166,18 @@ main(int argc, char **argv) | |||
166 | return 0; | 166 | return 0; |
167 | } | 167 | } |
168 | 168 | ||
169 | int | ||
170 | test_is_verbose() | ||
171 | { | ||
172 | return verbose_mode; | ||
173 | } | ||
174 | |||
175 | int | ||
176 | test_is_quiet() | ||
177 | { | ||
178 | return quiet_mode; | ||
179 | } | ||
180 | |||
169 | const char * | 181 | const char * |
170 | test_data_file(const char *name) | 182 | test_data_file(const char *name) |
171 | { | 183 | { |