s4:torture/vfs/fruit: update test "read open rsrc after rename" to work with macOS
authorRalph Boehme <slow@samba.org>
Mon, 15 Oct 2018 14:24:19 +0000 (16:24 +0200)
committerJeremy Allison <jra@samba.org>
Wed, 31 Oct 2018 20:27:19 +0000 (21:27 +0100)
commit9cd9859dc10d425d29774d221ec9ad697192b466
tree409b6a75bc4b015db4c03016a3e9c9a0427005f4
parentf7551d8fb3599a6a71dd0570bad02bdc48324107
s4:torture/vfs/fruit: update test "read open rsrc after rename" to work with macOS

macOS SMB server seems to return NT_STATUS_SHARING_VIOLATION in this
case while Windows 2016 returns NT_STATUS_ACCESS_DENIED.

Lets stick with the Windows error code for now in the Samba fileserver,
but let the test pass against macOS.

Bug: https://bugzilla.samba.org/show_bug.cgi?id=13646

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
source4/torture/vfs/fruit.c