s4/torture: vfs_fruit: add stream with illegal ntfs characters to copyile test
authorRalph Boehme <slow@samba.org>
Fri, 17 Feb 2017 15:35:44 +0000 (16:35 +0100)
committerUri Simchoni <uri@samba.org>
Wed, 1 Mar 2017 23:32:23 +0000 (00:32 +0100)
commitc7a79a9b35225f41eeae961ab340882c7d49f0c4
tree5d57f281b2997d694dd615989d6fa532b1aa1468
parentffa727f33b06e71403303b53797a068f455b22f8
s4/torture: vfs_fruit: add stream with illegal ntfs characters to copyile test

This ensures a stream with illegal NTFS characters mapped to the Unicode
private range like

  :foo\xef\x80\xa2bar:$DATA

that is stored as an xattr name

  user.DosStream.foo:bar:$DATA

if "fruit:encoding = native" is set, is copied by the special fruit
copy_chunk request.

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

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Uri Simchoni <uri@samba.org>
source4/torture/vfs/fruit.c