Skip to contentSkip to conversation

ceph/005: skip test if using "test_dummy_encryption"

PATCH In review Luís Henriques 2 participants 2 messages Nov 15, 2022 – Nov 16, 2022

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ceph/005: skip test if using "test_dummy_encryption"

When using the "test_dummy_encryption" mount option, new file and directory names will be encrypted. This means that if using as a mount base directory a newly created directory, we would have to use the encrypted directory name instead. For the moment, ceph doesn't provide a way to get this encrypted file name, thus for now simply skip this test.

---
 tests/ceph/005 | 1 +
 1 file changed, 1 insertion(+)
tests/ceph/005 +1 -0
index fd71d91350db..015f6571b098 100755
@@ -13,6 +13,7 @@ _begin_fstest auto quick quota
 
 _supported_fs ceph
 _require_scratch
+_exclude_test_mount_option "test_dummy_encryption"
 
 _scratch_mount
 mkdir -p "$SCRATCH_MNT/quota-dir/subdir"
Reviewed-by on v1 1/1
#1 lore raw
Quoted 17 lines · Luís Henriques

When using the "test_dummy_encryption" mount option, new file and directory names will be encrypted. This means that if using as a mount base directory a newly created directory, we would have to use the encrypted directory name instead. For the moment, ceph doesn't provide a way to get this encrypted file name, thus for now simply skip this test.

---
  tests/ceph/005 | 1 +
  1 file changed, 1 insertion(+)
tests/ceph/005 +0 -0
index fd71d91350db..015f6571b098 100755

tests/ceph/005 _begin_fstest auto quick quota · line 19

Quoted 7 lines
tests/ceph/005 +1 -0
@@ -13,6 +13,7 @@ _begin_fstest auto quick quota
 
  _supported_fs ceph
  _require_scratch
+_exclude_test_mount_option "test_dummy_encryption"
 
  _scratch_mount
  mkdir -p "$SCRATCH_MNT/quota-dir/subdir"