summaryrefslogtreecommitdiff
path: root/source4/torture/nbench
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2004-03-10 07:38:47 +0000
committerAndrew Tridgell <tridge@samba.org>2004-03-10 07:38:47 +0000
commit8d0c06039781aeefb14a96a26b01e7b31e1fbc4f (patch)
tree8f34b44ebac2daa7612bf612ce500569b83c235c /source4/torture/nbench
parentc66a2c1438237002b079b9d6a7c9601f9371f51f (diff)
downloadsamba-8d0c06039781aeefb14a96a26b01e7b31e1fbc4f.tar.gz
samba-8d0c06039781aeefb14a96a26b01e7b31e1fbc4f.tar.bz2
samba-8d0c06039781aeefb14a96a26b01e7b31e1fbc4f.zip
as a special case don't check the status of the create of \clients -
there is a race condition in the create (This used to be commit ddfddcbffd304b5ac51140dee048ead7137e293a)
Diffstat (limited to 'source4/torture/nbench')
-rw-r--r--source4/torture/nbench/nbio.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/source4/torture/nbench/nbio.c b/source4/torture/nbench/nbio.c
index 8a9c36f1d0..d42f719473 100644
--- a/source4/torture/nbench/nbio.c
+++ b/source4/torture/nbench/nbio.c
@@ -215,7 +215,9 @@ void nb_createx(const char *fname,
talloc_destroy(mem_ctx);
- check_status("NTCreateX", status, ret);
+ if (strcmp(fname, "\\clients") != 0) {
+ check_status("NTCreateX", status, ret);
+ }
if (!NT_STATUS_IS_OK(ret)) return;