summaryrefslogtreecommitdiff
path: root/source4/torture
diff options
context:
space:
mode:
Diffstat (limited to 'source4/torture')
-rw-r--r--source4/torture/local/share.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/torture/local/share.c b/source4/torture/local/share.c
index 69e9340ff7..487085b6dc 100644
--- a/source4/torture/local/share.c
+++ b/source4/torture/local/share.c
@@ -159,7 +159,7 @@ static bool test_double_create(struct torture_context *tctx,
torture_assert_ntstatus_ok(tctx, status, "create_share failed");
- torture_assert_ntstatus_equal(tctx, NT_STATUS_UNSUCCESSFUL,
+ torture_assert_ntstatus_equal(tctx, NT_STATUS_OBJECT_NAME_COLLISION,
share_create(ctx, "bla", inf, 2),
"create_share failed");