diff options
Diffstat (limited to 'source4')
-rw-r--r-- | source4/lib/replace/test/testsuite.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/source4/lib/replace/test/testsuite.c b/source4/lib/replace/test/testsuite.c index e921a7fc97..d119424362 100644 --- a/source4/lib/replace/test/testsuite.c +++ b/source4/lib/replace/test/testsuite.c @@ -376,7 +376,7 @@ static int test_MAX(void) return true; } -static bool test_socketpair(void) +static int test_socketpair(void) { int sock[2]; char buf[20]; @@ -411,6 +411,9 @@ static bool test_socketpair(void) return false; } + close(sock[0]); + close(sock[1]); + printf("success: socketpair\n"); return true; |