seltest: allow opening files with arbitrary rights in smb2.ioctl tests
authorUri Simchoni <uri@samba.org>
Mon, 15 Aug 2016 20:39:50 +0000 (23:39 +0300)
committerDavid Disseldorp <ddiss@samba.org>
Tue, 16 Aug 2016 09:31:27 +0000 (11:31 +0200)
commit6ce0304eda4b464972defcecd591fab03428bd03
treeebd1e24bf8ae5abd8727b9a824286509fb4f6c49
parent7dc9f582066d500bf57000891560610e8d2e208c
seltest: allow opening files with arbitrary rights in smb2.ioctl tests

Separate file creation (which requires write access) from the
opening of the file for the test (which might be without write
access).

BUG: https://bugzilla.samba.org/show_bug.cgi?id=12149

Signed-off-by: Uri Simchoni <uri@samba.org>
Reviewed-by: David Disseldorp <ddiss@samba.org>
source4/torture/smb2/ioctl.c