summaryrefslogtreecommitdiff
path: root/source4/torture/local
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2007-04-28 08:37:36 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:51:41 -0500
commit5b1a01a9c09d5ff68ae78f77b5f69d1c3aa6ab5c (patch)
treee8cfab224f158da6641e694bdd11c3f47099451c /source4/torture/local
parent9a66e0f7fb2342b00ba36f3ae272e94d8325a335 (diff)
downloadsamba-5b1a01a9c09d5ff68ae78f77b5f69d1c3aa6ab5c.tar.gz
samba-5b1a01a9c09d5ff68ae78f77b5f69d1c3aa6ab5c.tar.bz2
samba-5b1a01a9c09d5ff68ae78f77b5f69d1c3aa6ab5c.zip
r22546: use the same error codes in both share backends
metze (This used to be commit e0fae01e4cf93393b57514ffc08c126abf034e11)
Diffstat (limited to 'source4/torture/local')
-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");