2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-29 13:38:26 +00:00

t12() requires threads

This commit is contained in:
Andreas Gustafsson 2001-04-24 22:57:36 +00:00
parent ed45f92d10
commit 4c110ccec1

View File

@ -15,7 +15,7 @@
* WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/ */
/* $Id: t_tasks.c,v 1.26 2001/04/13 02:19:35 tale Exp $ */ /* $Id: t_tasks.c,v 1.27 2001/04/24 22:57:36 gson Exp $ */
#include <config.h> #include <config.h>
@ -2008,11 +2008,12 @@ t_tasks12(void) {
static void static void
t12(void) { t12(void) {
int result;
t_assert("tasks", 12, T_REQUIRED, a12); t_assert("tasks", 12, T_REQUIRED, a12);
result = t_tasks12();
t_result(result); if (threaded)
t_result(t_tasks12());
else
require_threads();
} }
static int T13_nfails; static int T13_nfails;