s4:torture:rpc: add a test samba3.smb2-pipe-read-close
authorMichael Adam <obnox@samba.org>
Wed, 2 May 2012 12:25:58 +0000 (14:25 +0200)
committerMichael Adam <obnox@samba.org>
Wed, 2 May 2012 16:11:05 +0000 (18:11 +0200)
commitecc28b8e5dd8b7a6c7d392581aa9885378d548fc
treeb08a60ff12b6124bd243dca79f0d3f4826c95fa3
parente615c22bc2d17e536ad7fc72054c97ddcb083f33
s4:torture:rpc: add a test samba3.smb2-pipe-read-close

* open a pipe via smb2
* trigger a read which hangs since there is nothing to read
* close the pipe file handle
* wait for the read to reaturn and check the status
  (NT_STATUS_PIPE_BROKEN)
source4/torture/rpc/samba3rpc.c