From 855b0771b07ee4f52a96f90edc6f79353731bb1d Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Wed, 3 Sep 2025 11:46:49 +0200 Subject: [PATCH] test: Fix shadow copy streams xattr test 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 --- source3/script/tests/test_shadow_copy_torture.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source3/script/tests/test_shadow_copy_torture.sh b/source3/script/tests/test_shadow_copy_torture.sh index 3a6ba91d075..68157aa6976 100755 --- a/source3/script/tests/test_shadow_copy_torture.sh +++ b/source3/script/tests/test_shadow_copy_torture.sh @@ -60,7 +60,7 @@ build_stream_on_snapshot() { file=$WORKDIR/.snapshots/$SNAPSHOT/foo - setfattr -n 'user.DosStream.bar:$DATA' -v baz $file || return 1 + setfattr -n 'user.DosStream.bar:$DATA' -v "baz\00" $file || return 1 } test_shadow_copy_write() -- 2.47.3