From: Patrick Donnelly Date: Thu, 11 May 2023 16:20:27 +0000 (-0400) Subject: qa: test first-damage.py with binary file name X-Git-Tag: v19.0.0~989^2~1 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=1d3a549ec2dddf02129ff20cf50411294e64faaa;p=ceph.git qa: test first-damage.py with binary file name Specifically, one which cannot be decoded as utf8. Fixes: https://tracker.ceph.com/issues/59716 Signed-off-by: Patrick Donnelly --- diff --git a/qa/workunits/fs/damage/test-first-damage.sh b/qa/workunits/fs/damage/test-first-damage.sh index e13f1ef13e0..57447b957d7 100755 --- a/qa/workunits/fs/damage/test-first-damage.sh +++ b/qa/workunits/fs/damage/test-first-damage.sh @@ -20,6 +20,7 @@ function create { DIR_INODE=$(stat -c '%i' dir) touch dir/a touch dir/"a space" + touch -- $(printf 'dir/\xff') mkdir dir/.snap/1 mkdir dir/.snap/2 # two snaps