From: Andrey Albershteyn Date: Thu, 19 Feb 2026 15:25:22 +0000 (+0100) Subject: generic/579: handle quoted cmp output X-Git-Tag: v2026.02.26~1 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=6fe19be2ecc16dd610f1252c849d1c2493325fb2;p=xfstests-dev.git generic/579: handle quoted cmp output diffutils updated cmp with more consistent quoting in commit: 69ae797392bd cmp,diff,diff3,sdiff: quote more consistently This causes generic/579 to fail from time to time due to grep not catching these errors. Remove quote to work with new and old version of cmp. Signed-off-by: Andrey Albershteyn Reviewed-by: Zorro Lang Signed-off-by: Zorro Lang --- diff --git a/tests/generic/579 b/tests/generic/579 index d5fab489..8a17016a 100755 --- a/tests/generic/579 +++ b/tests/generic/579 @@ -71,6 +71,7 @@ for ((proc = 0; proc < nproc_reader; proc++)); do # match, regardless of whether verity has been enabled # or not yet (or is currently being enabled). cmp $orig_file $fsv_file |& _filter_scratch | \ + sed -e "s/'//g" | \ grep -v "SCRATCH_MNT/fsv$i: No such file or directory" | \ grep -v "EOF on SCRATCH_MNT/fsv$i"