r2500: disable the sleep test in echo until we have a win32 echo server that
authorAndrew Tridgell <tridge@samba.org>
Wed, 22 Sep 2004 05:17:55 +0000 (05:17 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 17:58:59 +0000 (12:58 -0500)
does Microsoft style async rpc serving

source/torture/rpc/echo.c

index 43c794e040ed8a28112e37f08e59ba26a2b8f926..707b0d0313d130dfd2b23fa87682d0cde33afc70 100644 (file)
@@ -277,23 +277,21 @@ BOOL torture_rpc_echo(int dummy)
                return False;
        }
 
-#if 1
        if (!test_addone(p, mem_ctx)) {
                ret = False;
        }
 
-       if (!test_echodata(p, mem_ctx)) {
+       if (!test_sinkdata(p, mem_ctx)) {
                ret = False;
        }
 
-       if (!test_sourcedata(p, mem_ctx)) {
+       if (!test_echodata(p, mem_ctx)) {
                ret = False;
        }
 
-       if (!test_sinkdata(p, mem_ctx)) {
+       if (!test_sourcedata(p, mem_ctx)) {
                ret = False;
        }
-#endif
 
        if (!test_testcall(p, mem_ctx)) {
                ret = False;
@@ -303,10 +301,11 @@ BOOL torture_rpc_echo(int dummy)
                ret = False;
        }
 
+/*
        if (!test_sleep(p, mem_ctx)) {
                ret = False;
        }
-
+*/
        printf("\n");
        
        talloc_destroy(mem_ctx);