svn commit: samba r4888 - in branches/SAMBA_4_0/source/torture/rpc:
.
tridge at samba.org
tridge at samba.org
Fri Jan 21 06:56:57 GMT 2005
Author: tridge
Date: 2005-01-21 06:56:57 +0000 (Fri, 21 Jan 2005)
New Revision: 4888
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=4888
Log:
use the neater calling convention
Modified:
branches/SAMBA_4_0/source/torture/rpc/echo.c
Changeset:
Modified: branches/SAMBA_4_0/source/torture/rpc/echo.c
===================================================================
--- branches/SAMBA_4_0/source/torture/rpc/echo.c 2005-01-21 06:56:13 UTC (rev 4887)
+++ branches/SAMBA_4_0/source/torture/rpc/echo.c 2005-01-21 06:56:57 UTC (rev 4888)
@@ -336,38 +336,15 @@
return False;
}
- if (!test_addone(p, mem_ctx)) {
- ret = False;
- }
+ ret &= test_addone(p, mem_ctx);
+ ret &= test_sinkdata(p, mem_ctx);
+ ret &= test_echodata(p, mem_ctx);
+ ret &= test_sourcedata(p, mem_ctx);
+ ret &= test_testcall(p, mem_ctx);
+ ret &= test_testcall2(p, mem_ctx);
+ ret &= test_enum(p, mem_ctx);
+ ret &= test_sleep(p, mem_ctx);
- if (!test_sinkdata(p, mem_ctx)) {
- ret = False;
- }
-
- if (!test_echodata(p, mem_ctx)) {
- ret = False;
- }
-
- if (!test_sourcedata(p, mem_ctx)) {
- ret = False;
- }
-
- if (!test_testcall(p, mem_ctx)) {
- ret = False;
- }
-
- if (!test_testcall2(p, mem_ctx)) {
- ret = False;
- }
-
- if (!test_enum(p, mem_ctx)) {
- ret = False;
- }
-
- if (!test_sleep(p, mem_ctx)) {
- ret = False;
- }
-
printf("\n");
talloc_free(mem_ctx);
More information about the samba-cvs
mailing list