From ce123e87018b0345f1027950397f8556bfabb622 Mon Sep 17 00:00:00 2001 From: Yu Watanabe Date: Wed, 6 Feb 2019 12:02:15 +0100 Subject: [PATCH] test-network: ignore tunnel devices automatically added by kernel Fixes #10934. (cherry picked from commit e327272d795453f68a4c30ba21eb0e887516cf68) --- test/test-execute/exec-privatenetwork-yes.service | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/test-execute/exec-privatenetwork-yes.service b/test/test-execute/exec-privatenetwork-yes.service index a38d24912..8f5cbadf0 100644 --- a/test/test-execute/exec-privatenetwork-yes.service +++ b/test/test-execute/exec-privatenetwork-yes.service @@ -2,6 +2,6 @@ Description=Test for PrivateNetwork [Service] -ExecStart=/bin/sh -x -c '! ip link | grep ": " | grep -Ev ": (lo|sit0@.*):"' +ExecStart=/bin/sh -x -c '! ip link | grep -E "^[0-9]+: " | grep -Ev ": (lo|(erspan|gre|gretap|ip_vti|ip6_vti|ip6gre|ip6tnl|sit|tunl)0@.*):"' Type=oneshot PrivateNetwork=yes