From 5b1a01a9c09d5ff68ae78f77b5f69d1c3aa6ab5c Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Sat, 28 Apr 2007 08:37:36 +0000 Subject: r22546: use the same error codes in both share backends metze (This used to be commit e0fae01e4cf93393b57514ffc08c126abf034e11) --- source4/torture/local/share.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source4/torture') 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"); -- cgit