summaryrefslogtreecommitdiffstats
path: root/source4
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2007-12-10 05:45:41 +0100
committerStefan Metzmacher <metze@samba.org>2007-12-21 05:49:05 +0100
commit4b115147845529f14bc0f1de58ac3dad7fa577b9 (patch)
treecd920da2e5179c000c87be8a08ed7ee4c8defed4 /source4
parent2e1f142ab03d9accbf4c61b0b11986bc1cb33d12 (diff)
downloadsamba-4b115147845529f14bc0f1de58ac3dad7fa577b9.tar.gz
samba-4b115147845529f14bc0f1de58ac3dad7fa577b9.tar.xz
samba-4b115147845529f14bc0f1de58ac3dad7fa577b9.zip
r26361: Ensure this test cannot proceed if the pipe connection failed.
Andrew Bartlett (This used to be commit 0e04e85ec262ec94ca4dd19e77cfbf8b78ca45fc)
Diffstat (limited to 'source4')
-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 d693430b056..c81dd292527 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;
}