diff options
author | Andrew Tridgell <tridge@samba.org> | 2004-11-04 11:28:38 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:05:28 -0500 |
commit | c870ae8b898d3bcc81ed9fd1afd505d78dea52cc (patch) | |
tree | 6e83b98a6c0a1ce2ac594f9f84ad539ee436a9d7 /source4/torture/raw | |
parent | 92cac50045398b2d45ac45dd0d53eed3c41d4d00 (diff) | |
download | samba-c870ae8b898d3bcc81ed9fd1afd505d78dea52cc.tar.gz samba-c870ae8b898d3bcc81ed9fd1afd505d78dea52cc.tar.bz2 samba-c870ae8b898d3bcc81ed9fd1afd505d78dea52cc.zip |
r3528: added support for the SMBntcancel() operation, which cancels any
outstanding async operation (triggering an immediate timeout).
pvfs now passes the RAW-MUX test
(This used to be commit 3423e2f41461d054067ef168b9b986f62cc8f77c)
Diffstat (limited to 'source4/torture/raw')
-rw-r--r-- | source4/torture/raw/mux.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/source4/torture/raw/mux.c b/source4/torture/raw/mux.c index c02045817e..7dddd0602c 100644 --- a/source4/torture/raw/mux.c +++ b/source4/torture/raw/mux.c @@ -252,6 +252,10 @@ static BOOL test_mux_lock(struct smbcli_state *cli, TALLOC_CTX *mem_ctx) /* cancel the blocking lock */ smb_raw_ntcancel(req); + /* the 2nd cancel is totally harmless, but tests the server trying to + cancel an already cancelled request */ + smb_raw_ntcancel(req); + lock[0].pid = 1; io.lockx.in.ulock_cnt = 1; io.lockx.in.lock_cnt = 0; |