[LTP] [PATCH 1/1] zram01.sh: Rewrite to run by single filesystem

Cyril Hrubis chrubis@suse.cz
Mon Nov 9 13:09:51 CET 2026


Hi!
> 1) test only particular filesystem
> 2) easily identify which filesystem is slow or fails
> 
> Signed-off-by: Petr Vorel <pvorel@suse.cz>
> ---
>  runtest/kernel_misc                           |  9 +++
>  .../kernel/device-drivers/zram/zram01.sh      | 75 +++++++++++--------
>  2 files changed, 54 insertions(+), 30 deletions(-)
> 
> diff --git a/runtest/kernel_misc b/runtest/kernel_misc
> index ac14f633e2..05ec709422 100644
> --- a/runtest/kernel_misc
> +++ b/runtest/kernel_misc
> @@ -13,6 +13,15 @@ uaccess uaccess
>  rcu_torture rcu_torture.sh
>  lock_torture lock_torture.sh
>  zram01 zram01.sh
> +zram01_ext2 zram01.sh -f ext2
> +zram01_ext3 zram01.sh -f ext3
> +zram01_ext4 zram01.sh -f ext4
> +zram01_xfs zram01.sh -f xfs
> +zram01_btrfs zram01.sh -f btrfs
> +zram01_bcachefs zram01.sh -f bcachefs
> +zram01_vfat zram01.sh -f vfat
> +zram01_exfat zram01.sh -f exfat
> +zram01_ntfs zram01.sh -f ntfs

I do not like this. With this we have to maintain the list of the
filesystems manually in the runtest file. What is the exact problem you
are trying to fix?

-- 
Cyril Hrubis
chrubis@suse.cz


More information about the ltp mailing list