diff options
author | Stefan Metzmacher <metze@samba.org> | 2010-04-15 17:22:41 +0200 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2010-04-15 17:32:31 +0200 |
commit | 279bf89fb37cc4d2a4b514301bc5bdb61ca48740 (patch) | |
tree | c3f056fcec42ece212e4e558a08c322d22611e0f /source4/torture/rpc/countcalls.c | |
parent | 3f8e9b919dc74fb8aae903e03344fe62cadf5fd5 (diff) | |
download | samba-279bf89fb37cc4d2a4b514301bc5bdb61ca48740.tar.gz samba-279bf89fb37cc4d2a4b514301bc5bdb61ca48740.tar.bz2 samba-279bf89fb37cc4d2a4b514301bc5bdb61ca48740.zip |
s4:torture/rpc/countcalls: check for NT_STATUS_IS_RPC() instead of NT_STATUS_NET_WRITE_FAULT
metze
Diffstat (limited to 'source4/torture/rpc/countcalls.c')
-rw-r--r-- | source4/torture/rpc/countcalls.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/torture/rpc/countcalls.c b/source4/torture/rpc/countcalls.c index 5857af68dd..7d3c9d7b86 100644 --- a/source4/torture/rpc/countcalls.c +++ b/source4/torture/rpc/countcalls.c @@ -38,7 +38,7 @@ bool count_calls(struct torture_context *tctx, int i; NTSTATUS status = torture_rpc_connection(tctx, &p, iface); if (NT_STATUS_EQUAL(NT_STATUS_OBJECT_NAME_NOT_FOUND, status) - || NT_STATUS_EQUAL(NT_STATUS_NET_WRITE_FAULT, status) + || NT_STATUS_IS_RPC(status) || NT_STATUS_EQUAL(NT_STATUS_PORT_UNREACHABLE, status) || NT_STATUS_EQUAL(NT_STATUS_ACCESS_DENIED, status)) { if (all) { |