s4:torture/vfs/fruit: ensure test_adouble_conversion() uses a non-emtpy resourcefork
authorRalph Boehme <slow@samba.org>
Tue, 21 May 2019 16:39:52 +0000 (18:39 +0200)
committerJeremy Allison <jra@samba.org>
Thu, 23 May 2019 23:26:14 +0000 (23:26 +0000)
commitc3d28d49be3c7536d1ccfe8d00553ce72843f369
tree308e817d5ed3778c89d6c1f8afa902b949fe30ff
parentcb6525e868106c0f4c725d73b7268d910b9b4029
s4:torture/vfs/fruit: ensure test_adouble_conversion() uses a non-emtpy resourcefork

This ensures the resource fork is not deleted as part of the AppleDouble file
conversion for the option fruit:wipe_intentionally_left_blank_rfork=yes.

This is currently not a problem in selftest, as we don't enable the option, but
a subsequent commit will run all vfs.fruit tests against a share with this
option enabled.

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

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