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

Petr Vorel pvorel@suse.cz
Fri Jan 29 20:21:33 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?
Well, sending rewritten implementation.

Kind regards,
Petr


More information about the ltp mailing list