From: Petr Vorel Date: Thu, 17 Dec 2020 14:46:20 +0100 Subject: [LTP] [PATCH 1/1] tst_net.sh: Require veth for netns Message-ID: <20201217134620.10128-1-pvorel@suse.cz> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: ltp@lists.linux.it 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 --- testcases/lib/tst_net.sh | 1 + 1 file changed, 1 insertion(+) 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 -- 2.29.2