[LTP] [PATCH v2 3/6] tst_test.sh: Add $TST_FORMAT_DEVICE and related vars

Petr Vorel pvorel@suse.cz
Fri Feb 11 08:15:11 CET 2022


Hi Xu,
> Hi Petr
> > +
> > +[source,sh]
> > +-------------------------------------------------------------------------------
> > +TST_FORMAT_DEVICE=1
> > +TST_DEV_FS_OPTS="-b 1024 -O quota"
> > +TST_DEV_EXTRA_OPTS="5m"
> > +TST_TESTFUNC=test
> > +
> > +test1()
> A small nit, I prefer to use test name directly if we don't have several
> sub test cases.
Sure. Originally I had more tests there, using lsblk.
But I'll probably extend these tests to your suggestion in different mail.

Kind regards,
Petr

> Best Regards
> Yang Xu
> > +{
> > +	tst_res TPASS "device formatted"
> > +}

> > +-------------------------------------------------------------------------------


More information about the ltp mailing list