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 <aalbersh@kernel.org>
Reviewed-by: Zorro Lang <zlang@redhat.com>
Signed-off-by: Zorro Lang <zlang@kernel.org>
# 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"