Both the test_dev and scratch_dev could use the CEPHFS_MOUNT_OPTIONS.
Without this the xfstests tests will just be aborted without any error
logs when testing the encrypt and it's very hard to debug.
Fixes: https://tracker.ceph.com/issues/58133
Signed-off-by: Xiubo Li <xiubli@redhat.com>
export TEST_DIR={}
export SCRATCH_DEV={}
export SCRATCH_MNT={}
- export TEST_FS_MOUNT_OPTS="-o name=admin,secret={}"
+ export CEPHFS_MOUNT_OPTIONS="-o name=admin,secret={}"
''').format(self.test_dev, self.test_dirs_mount_path, self.scratch_dev,
self.scratch_dirs_mount_path, self.get_admin_key())