Message ID | 20201217134620.10128-1-pvorel@suse.cz |
---|---|
State | Accepted |
Headers | show |
Series | [1/1] tst_net.sh: Require veth for netns | expand |
Hi, > new error message is more informative: > tcp_fastopen_run 1 TCONF: veth driver not available > then the old one: > Error: Unknown device type. > tcp_fastopen_run 1 TBROK: ip li add name ltp_ns_veth1 type veth peer name ltp_ns_veth2 failed Merged. Kind regards, Petr
diff --git a/testcases/lib/tst_net.sh b/testcases/lib/tst_net.sh index ef9354903..1ddef2fea 100644 --- a/testcases/lib/tst_net.sh +++ b/testcases/lib/tst_net.sh @@ -106,6 +106,7 @@ init_ltp_netspace() tst_require_cmds ip tst_require_root + tst_require_drivers veth ROD ip li add name ltp_ns_veth1 type veth peer name ltp_ns_veth2 pid="$(ROD ns_create net,mnt)" mkdir -p /var/run/netns
new error message is more informative: tcp_fastopen_run 1 TCONF: veth driver not available then the old one: Error: Unknown device type. tcp_fastopen_run 1 TBROK: ip li add name ltp_ns_veth1 type veth peer name ltp_ns_veth2 failed Signed-off-by: Petr Vorel <pvorel@suse.cz> --- testcases/lib/tst_net.sh | 1 + 1 file changed, 1 insertion(+)