[LTP] [PATCH 2/2] tst_test.sh: Add public tst_test_root command
Petr Vorel
pvorel@suse.cz
Wed Oct 9 08:52:25 CEST 2019
Hi Joerg,
...
> testcases/lib/tst_test.sh | 16 ++++++++--------
> 1 file changed, 8 insertions(+), 8 deletions(-)
...
> -_tst_require_root()
> -{
> - if [ "$(id -ru)" != 0 ]; then
> - tst_brk TCONF "Must be super/root for this test!"
> - fi
> -}
You need to replace s/_tst_require_root/tst_test_root/ in other library files
(tst_net.sh, tst_security.sh).
...
Kind regards,
Petr
More information about the ltp
mailing list