On Thu, Jan 06, 2022 at 08:30:49AM -0500, Jeff Layton wrote: > Some tests on ceph require changing the layout of new files, which is > forbidden when the files are encrypted. Skip these tests if the > test_dummy_encryption mount option is being used. > > Generalize the _exclude_scratch_mount_option code and add a new > _exclude_test_mount_option call as well. Call the new function from the > ceph tests that should exclude test_dummy_encryption. > > Cc: Luis Henriques <lhenriques@xxxxxxx> > Cc: Eric Biggers <ebiggers@xxxxxxxxxx> > Signed-off-by: Jeff Layton <jlayton@xxxxxxxxxx> > --- > common/btrfs | 2 +- > common/rc | 28 +++++++++++++++++++--------- > tests/ceph/001 | 1 + > tests/ceph/002 | 1 + > tests/ceph/003 | 1 + > 5 files changed, 23 insertions(+), 10 deletions(-) Reviewed-by: Eric Biggers <ebiggers@xxxxxxxxxx> - Eric