diff options
author | Andrew Tridgell <tridge@samba.org> | 2006-10-19 08:58:55 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 14:21:28 -0500 |
commit | 21948f18a71d6d3de4b05f884a8cbe204c9c6fb6 (patch) | |
tree | a9f9eb17ba058f4524566282fcb599c2e433c841 /source4/lib/replace/test | |
parent | 97ccda014dd3e2c1a8f18cc79e67f2a13244fc4b (diff) | |
download | samba-21948f18a71d6d3de4b05f884a8cbe204c9c6fb6.tar.gz samba-21948f18a71d6d3de4b05f884a8cbe204c9c6fb6.tar.bz2 samba-21948f18a71d6d3de4b05f884a8cbe204c9c6fb6.zip |
r19410: - fixed checker error
- close the sockets after the socketpair test
(This used to be commit e679163ac26dccee028ca501e4ef6229a3c761ee)
Diffstat (limited to 'source4/lib/replace/test')
-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; |