From: Volker Lendecke Date: Wed, 3 Sep 2025 09:46:49 +0000 (+0200) Subject: test: Fix shadow copy streams xattr test X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=855b0771b07ee4f52a96f90edc6f79353731bb1d;p=thirdparty%2Fsamba.git 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 --- 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()