diff mbox series

ceph/005: skip test if using "test_dummy_encryption"

Message ID 20221115144500.10015-1-lhenriques@suse.de
State New
Headers show
Series ceph/005: skip test if using "test_dummy_encryption" | expand

Commit Message

Luis Henriques Nov. 15, 2022, 2:45 p.m. UTC
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.

Signed-off-by: Luís Henriques <lhenriques@suse.de>
---
 tests/ceph/005 | 1 +
 1 file changed, 1 insertion(+)

Comments

Xiubo Li Nov. 16, 2022, 6:51 a.m. UTC | #1
On 15/11/2022 22:45, Luís Henriques wrote:
> 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.
>
> Signed-off-by: Luís Henriques <lhenriques@suse.de>
> ---
>   tests/ceph/005 | 1 +
>   1 file changed, 1 insertion(+)
>
> diff --git a/tests/ceph/005 b/tests/ceph/005
> index fd71d91350db..015f6571b098 100755
> --- a/tests/ceph/005
> +++ b/tests/ceph/005
> @@ -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: Xiubo Li <xiubli@redhat.com>
diff mbox series

Patch

diff --git a/tests/ceph/005 b/tests/ceph/005
index fd71d91350db..015f6571b098 100755
--- a/tests/ceph/005
+++ b/tests/ceph/005
@@ -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"