[LTP] [PATCH 3/5] zram01.sh: Check properly mkfs.* dependencies

Cyril Hrubis chrubis@suse.cz
Fri Jan 29 19:34:09 CET 2021


Hi!
> > Also I'm confused how this is supposed to work, we do limit the dev_num
> > but the zram_filesystems is untouched? That isn't going to work right.
> It actually works due this check in functions it uses:
> [ $i -eq $dev_num ] && break
> (maybe more readable to use -ge ).

So if we have ext3 unsupported we will loop over ext3, ext4 and xfs
there and break just before btrfs?

-- 
Cyril Hrubis
chrubis@suse.cz


More information about the ltp mailing list