diff options
author | Andrew Bartlett <abartlet@samba.org> | 2007-12-10 05:45:41 +0100 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2007-12-21 05:49:05 +0100 |
commit | 4b115147845529f14bc0f1de58ac3dad7fa577b9 (patch) | |
tree | cd920da2e5179c000c87be8a08ed7ee4c8defed4 | |
parent | 2e1f142ab03d9accbf4c61b0b11986bc1cb33d12 (diff) | |
download | samba-4b115147845529f14bc0f1de58ac3dad7fa577b9.tar.gz samba-4b115147845529f14bc0f1de58ac3dad7fa577b9.tar.bz2 samba-4b115147845529f14bc0f1de58ac3dad7fa577b9.zip |
r26361: Ensure this test cannot proceed if the pipe connection failed.
Andrew Bartlett
(This used to be commit 0e04e85ec262ec94ca4dd19e77cfbf8b78ca45fc)
-rw-r--r-- | source4/torture/libnet/libnet_share.c | 2 |
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; } |