s4:torture:vfs_fruit: add a resource fork truncation test
commitc1e1891110bdaf562f1b8e47c1e81833b0c74152
authorRalph Boehme <slow@samba.org>
Thu, 6 Aug 2015 09:32:29 +0000 (6 11:32 +0200)
committerJeremy Allison <jra@samba.org>
Wed, 2 Sep 2015 01:50:21 +0000 (2 03:50 +0200)
treefb9ced719fe85c824cbf57b1c02bfed9e9ed12b2
parent6263495b5b897aeaf059e306d1c3a30b1692356f
s4:torture:vfs_fruit: add a resource fork truncation test

Truncating a resource fork to 0 bytes should make it inaccessible for
subsequent creates and return NT_STATUS_OBJECT_NAME_NOT_FOUND.

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

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