mbox series

[xfstests,v2,0/3] Fix test bugs related to fs.verity.require_signatures

Message ID 20221104205830.130132-1-ebiggers@kernel.org (mailing list archive)
Headers show
Series Fix test bugs related to fs.verity.require_signatures | expand

Message

Eric Biggers Nov. 4, 2022, 8:58 p.m. UTC
This is a replacement for Andrey's patchset
"generic/577: fix hash check and add metadata cleaning".
It handles some other things that were overlooked.

Changed v1 => v2:
   - Slight code simplification (kept check for require_signatures
     existence in _disable_fsverity_signatures() only)
   - Added Reviewed-by tags

Eric Biggers (3):
  common/verity: fix _fsv_have_hash_algorithm() with required signatures
  generic/577: add missing file removal before empty file test
  tests: fix some tests for systems with fs.verity.require_signatures=1

 common/verity     | 58 ++++++++++++++++++++++++++++++-----------------
 tests/btrfs/290   |  9 ++++++++
 tests/btrfs/291   |  2 ++
 tests/generic/577 |  1 +
 tests/generic/624 |  8 +++++++
 tests/generic/692 |  8 +++++++
 6 files changed, 65 insertions(+), 21 deletions(-)


base-commit: a75c5f50584e03ca7862ad51f48efd2d524d1dc5