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: v18.1.3~18^2~1 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=b2144043c11aa1d669d1a34f8281b2bd5bceef9d;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 (cherry picked from commit 1d3a549ec2dddf02129ff20cf50411294e64faaa) --- diff --git a/qa/workunits/fs/damage/test-first-damage.sh b/qa/workunits/fs/damage/test-first-damage.sh index e13f1ef13e0d..57447b957d78 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