Add more strict check for tst_require_cmds
PATCH 1/1 Add more strict check for tst_require_cmds
From: WEI GAO <[email protected]>
Add more strict tst_require_cmds check for init_ltp_netspace()
Signed-off-by WEI GAO <[email protected]>
--- testcases/lib/tst_net.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
testcases/lib/tst_net.sh +1 -1
@@ -131,7 +131,7 @@ init_ltp_netspace() local pid if [ ! -f /var/run/netns/ltp_ns -a -z "$LTP_NETNS" ]; then - tst_require_cmds ip + tst_require_cmds ip ns_create ns_exec ns_ifmove tst_require_root tst_require_drivers veth
Signature · 5 lines
2.35.3 -- Mailing list info: https://lists.linux.it/listinfo/ltp
Hi Wei,
I rewritten the commit message, add my tag Suggested-by and merged.
Thanks for your work!
Kind regards,
Petr
Signature · 1 line
Mailing list info: https://lists.linux.it/listinfo/ltp