python/tests: add simple dcerpc co_cancel tests
authorStefan Metzmacher <metze@samba.org>
Sun, 11 Sep 2016 21:25:49 +0000 (23:25 +0200)
committerAndreas Schneider <asn@cryptomilk.org>
Wed, 26 Oct 2016 09:20:20 +0000 (11:20 +0200)
commit3c474cd4890a37c22b69f716164e2c830ab76c41
tree18769ce120f76723e179e6733d9c420c83080d71
parent04c934319f4d21314fbf6232b0d3c615f11a2187
python/tests: add simple dcerpc co_cancel tests

CO_CANCEL is mostly ignored. It's up to the application server
implementation to install a cancel handler.

The only implementation I found so far is the witness server
(see [MS-SWN] WitnessrAsyncNotify), which triggers a FAULT
with DCERPC_FAULT_SERVER_UNAVAILABLE.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
python/samba/tests/dcerpc/raw_protocol.py