summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRalph Boehme <slow@samba.org>2015-12-19 18:56:24 +0100
committerKarolin Seeger <kseeger@samba.org>2016-01-06 10:07:16 +0100
commitb32587e06cb12909b37dc98a90707849be9333a5 (patch)
treea4271c6d17a873cfc2206827ff26446592d6d8e2
parent7b2f35b4fe9b9b5e4de6466172fe136e2b24801f (diff)
downloadsamba-b32587e06cb12909b37dc98a90707849be9333a5.tar.gz
s4:torture:vfs_fruit: fix flakey test_write_atalk_rfork_io with OS X
Adjust desired_access to prevent flaky test with OS X SMB server. Bug: https://bugzilla.samba.org/show_bug.cgi?id=11347 Signed-off-by: Ralph Boehme <slow@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org> (cherry picked from commit ba00884e8a67420cf8d6c2530a778b9cee6e86b8)
-rw-r--r--source4/torture/vfs/fruit.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/source4/torture/vfs/fruit.c b/source4/torture/vfs/fruit.c
index d453910e18c..dbce3757ef6 100644
--- a/source4/torture/vfs/fruit.c
+++ b/source4/torture/vfs/fruit.c
@@ -1462,8 +1462,7 @@ static bool test_write_atalk_rfork_io(struct torture_context *tctx,
ZERO_STRUCT(io);
io.smb2.in.create_disposition = NTCREATEX_DISP_OPEN;
- io.smb2.in.desired_access = SEC_FILE_READ_ATTRIBUTE |
- SEC_FILE_WRITE_ATTRIBUTE;
+ io.smb2.in.desired_access = SEC_FILE_ALL;
io.smb2.in.fname = rfork;
status = smb2_create(tree, mem_ctx, &(io.smb2));
CHECK_STATUS(status, NT_STATUS_OK);