summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source4/torture/libnet/libnet_share.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source4/torture/libnet/libnet_share.c b/source4/torture/libnet/libnet_share.c
index d693430b05..c81dd29252 100644
--- a/source4/torture/libnet/libnet_share.c
+++ b/source4/torture/libnet/libnet_share.c
@@ -216,6 +216,8 @@ bool torture_delshare(struct torture_context *torture)
&p,
&ndr_table_srvsvc);
+ torture_assert_ntstatus_ok(torture, status, "Failed to get rpc connection");
+
if (!test_addshare(p, torture, host, TEST_SHARENAME)) {
return false;
}