summaryrefslogtreecommitdiff
path: root/source4/torture
diff options
context:
space:
mode:
authorRalph Boehme <slow@samba.org>2017-10-11 16:04:58 +0200
committerKarolin Seeger <kseeger@samba.org>2017-10-25 08:43:05 +0200
commit779a5a9894ed631f1872dd97e34537c892e6a352 (patch)
tree9d51edec0006d20b0c6dbb8ccd58006881647ff0 /source4/torture
parent494219485c081148ef2383a3221ceb5ff9c22a7f (diff)
downloadsamba-779a5a9894ed631f1872dd97e34537c892e6a352.tar.gz
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)
Diffstat (limited to 'source4/torture')
-rw-r--r--source4/torture/vfs/fruit.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/source4/torture/vfs/fruit.c b/source4/torture/vfs/fruit.c
index b788f81e78c..ace561d0d9c 100644
--- a/source4/torture/vfs/fruit.c
+++ b/source4/torture/vfs/fruit.c
@@ -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);