From: Volker Lendecke Date: Thu, 4 Sep 2025 07:45:32 +0000 (+0200) Subject: test: Fix fruit test for local netatalk interop X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ac88296d597d2fc39f7fa6f6be4271d40cd50562;p=thirdparty%2Fsamba.git test: Fix fruit test for local netatalk interop streams_xattr always appends a '\0'. We'll start to add meaning to that byte and check it soon, so make the hand-crafted stream follow that convention. Signed-off-by: Volker Lendecke Reviewed-by: Ralph Boehme --- diff --git a/source4/torture/vfs/fruit.c b/source4/torture/vfs/fruit.c index 71e7eedfdbd..02a7be68d85 100644 --- a/source4/torture/vfs/fruit.c +++ b/source4/torture/vfs/fruit.c @@ -8121,7 +8121,7 @@ static bool test_stream_names_local(struct torture_context *tctx, ret = torture_setup_local_xattr(tctx, "localdir", BASEDIR "/stream_names.txt", "user.DosStream.bar:baz:$DATA", - "data", strlen("data")); + "data", strlen("data")+1); CHECK_VALUE(ret, true); ret = check_stream_list(tree, tctx, fname, 3, streams, false);