[LTP] [PATCH v6 2/8] zram01.sh: Use tst_supported_fs -s tmpfs
Petr Vorel
pvorel@suse.cz
Thu Sep 15 11:36:33 CEST 2022
Signed-off-by: Petr Vorel <pvorel@suse.cz>
---
testcases/kernel/device-drivers/zram/zram01.sh | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/testcases/kernel/device-drivers/zram/zram01.sh b/testcases/kernel/device-drivers/zram/zram01.sh
index ad01291bf..8b92b699f 100755
--- a/testcases/kernel/device-drivers/zram/zram01.sh
+++ b/testcases/kernel/device-drivers/zram/zram01.sh
@@ -38,8 +38,7 @@ initialize_vars()
local fs limit size stream=-1
dev_num=0
- for fs in $(tst_supported_fs); do
- [ "$fs" = "tmpfs" ] && continue
+ for fs in $(tst_supported_fs -s tmpfs); do
size="26214400"
limit="25M"
if [ "$fs" = "btrfs" ]; then
--
2.37.3
More information about the ltp
mailing list