svn commit: samba r19410 - in
branches/SAMBA_4_0/source/lib/replace/test: .
tridge at samba.org
tridge at samba.org
Thu Oct 19 08:58:55 GMT 2006
Author: tridge
Date: 2006-10-19 08:58:55 +0000 (Thu, 19 Oct 2006)
New Revision: 19410
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=19410
Log:
- fixed checker error
- close the sockets after the socketpair test
Modified:
branches/SAMBA_4_0/source/lib/replace/test/testsuite.c
Changeset:
Modified: branches/SAMBA_4_0/source/lib/replace/test/testsuite.c
===================================================================
--- branches/SAMBA_4_0/source/lib/replace/test/testsuite.c 2006-10-19 04:56:21 UTC (rev 19409)
+++ branches/SAMBA_4_0/source/lib/replace/test/testsuite.c 2006-10-19 08:58:55 UTC (rev 19410)
@@ -376,7 +376,7 @@
return true;
}
-static bool test_socketpair(void)
+static int test_socketpair(void)
{
int sock[2];
char buf[20];
@@ -411,6 +411,9 @@
return false;
}
+ close(sock[0]);
+ close(sock[1]);
+
printf("success: socketpair\n");
return true;
More information about the samba-cvs
mailing list