From b7cc29a78c3c705374ff25223fe14749ddb076b9 Mon Sep 17 00:00:00 2001 From: Stef Walter Date: Tue, 23 Jul 2013 14:53:53 +0200 Subject: Use simple serial automake test harness * Add a testing sanity check to see if we're catching errors * Fix a few other testing issues --- p11-kit/tests/test-init.c | 1 + 1 file changed, 1 insertion(+) (limited to 'p11-kit/tests/test-init.c') diff --git a/p11-kit/tests/test-init.c b/p11-kit/tests/test-init.c index ebc0666..c4fcecb 100644 --- a/p11-kit/tests/test-init.c +++ b/p11-kit/tests/test-init.c @@ -73,6 +73,7 @@ mock_C_Initialize__with_fork (CK_VOID_PTR init_args) /* Fork during the initialization */ child = fork (); if (child == 0) { + close (1); nanosleep (&ts, NULL); exit (66); } -- cgit v1.1