From b2144043c11aa1d669d1a34f8281b2bd5bceef9d Mon Sep 17 00:00:00 2001 From: Patrick Donnelly Date: Thu, 11 May 2023 12:20:27 -0400 Subject: [PATCH] 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) --- qa/workunits/fs/damage/test-first-damage.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/qa/workunits/fs/damage/test-first-damage.sh b/qa/workunits/fs/damage/test-first-damage.sh index e13f1ef13e0da..57447b957d789 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 -- 2.39.5