1
0
mirror of https://github.com/samba-team/samba.git synced 2025-03-20 22:50:26 +03:00

s4/torture: vfs_fruit: test xattr unpacking

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

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>

Autobuild-User(master): Ralph Böhme <slow@samba.org>
Autobuild-Date(master): Fri Oct 13 21:44:02 CEST 2017 on sn-devel-144

(cherry picked from commit 5f52a0fbe8c9f52c6fed206fd5cd47bd0de867a1)
This commit is contained in:
Ralph Boehme 2017-10-11 16:04:58 +02:00 committed by Karolin Seeger
parent d61101b568
commit c7726ee0f5

View File

@ -2036,6 +2036,11 @@ static bool test_adouble_conversion(struct torture_context *tctx,
fname, AFPRESOURCE_STREAM,
16, datalen, 0, datalen, data);
ret &= check_stream(tree, __location__, tctx, mem_ctx,
fname,
":foo" "\xef\x80\xa2" "bar:$DATA", /* "foo:bar:$DATA" */
0, 3, 0, 3, "baz");
done:
smb2_deltree(tree, BASEDIR);
talloc_free(mem_ctx);