summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2011-07-28 11:39:32 +0200
committerStefan Metzmacher <metze@samba.org>2011-08-10 09:54:23 +0200
commit0a9c30f5096523f98aa2b8b1b4cbd3f0649a9eb9 (patch)
tree3cce47ca4797ac1c5640541bc7369f8df921073b /source3
parentb97aab0223746870429255acac5607062781a266 (diff)
downloadsamba-0a9c30f5096523f98aa2b8b1b4cbd3f0649a9eb9.tar.gz
samba-0a9c30f5096523f98aa2b8b1b4cbd3f0649a9eb9.tar.bz2
samba-0a9c30f5096523f98aa2b8b1b4cbd3f0649a9eb9.zip
Revert "s3:test_async_echo: unsure the desired smb message sequence"
This reverts commit 34faeb8bba86fff57466c06682b7dcbffc48a52a. This is not needed anymore. metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Wed Aug 10 09:54:24 CEST 2011 on sn-devel-104
Diffstat (limited to 'source3')
-rw-r--r--source3/torture/test_async_echo.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/source3/torture/test_async_echo.c b/source3/torture/test_async_echo.c
index eb1f1d4587..cca6975981 100644
--- a/source3/torture/test_async_echo.c
+++ b/source3/torture/test_async_echo.c
@@ -20,7 +20,6 @@
#include "includes.h"
#include "torture/proto.h"
#include "libsmb/libsmb.h"
-#include "async_smb.h"
#include "rpc_client/cli_pipe.h"
#include "librpc/gen_ndr/ndr_echo_c.h"
@@ -101,15 +100,6 @@ bool run_async_echo(int dummy)
tevent_req_set_callback(req, rpccli_sleep_done, &num_reqs);
num_reqs += 1;
- /* Wait until the rpc operation arrives at the smb layer */
- while (tevent_req_is_in_progress(req) &&
- !cli_has_async_calls(cli)) {
- if (tevent_loop_once(ev) != 0) {
- printf("tevent_loop_once failed\n");
- goto fail;
- }
- }
-
req = cli_echo_send(ev, ev, cli, 1, data_blob_const("hello", 5));
if (req == NULL) {
printf("cli_echo_send failed\n");