* [LTP] [PATCH v1] Add more strict check for tst_require_cmds
@ 2023-01-12 2:45 coolgw
2023-01-13 9:13 ` Petr Vorel
0 siblings, 1 reply; 2+ messages in thread
From: coolgw @ 2023-01-12 2:45 UTC (permalink / raw)
To: ltp
From: WEI GAO <wegao@suse.com>
Add more strict tst_require_cmds check for init_ltp_netspace()
Signed-off-by: WEI GAO <wegao@suse.com>
---
testcases/lib/tst_net.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/testcases/lib/tst_net.sh b/testcases/lib/tst_net.sh
index ceb45c98d..e6bb09d81 100644
--- a/testcases/lib/tst_net.sh
+++ b/testcases/lib/tst_net.sh
@@ -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
--
2.35.3
--
Mailing list info: https://lists.linux.it/listinfo/ltp
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2023-01-13 9:13 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-01-12 2:45 [LTP] [PATCH v1] Add more strict check for tst_require_cmds coolgw
2023-01-13 9:13 ` Petr Vorel
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox