[LTP] [PATCH 2/2] tst_test.sh: Add public tst_test_root command

Petr Vorel pvorel@suse.cz
Fri Oct 11 10:20:43 CEST 2019


Hi,

> > +tst_test_root()
> > +{
> > +	if [ "$(id -ru)" != 0 ]; then
> > +		tst_brk TCONF "Must be super/root for this test!"
> > +	fi
> > +}

> Can we keep the name to be tst_require_root() please?
> Historically this function has been always named like this in LTP.
+1

Kind regards,
Petr


More information about the ltp mailing list