Blame SOURCES/0088-test-network-ignore-tunnel-devices-automatically-add.patch

a3e2b5
From ce123e87018b0345f1027950397f8556bfabb622 Mon Sep 17 00:00:00 2001
a3e2b5
From: Yu Watanabe <watanabe.yu+github@gmail.com>
a3e2b5
Date: Wed, 6 Feb 2019 12:02:15 +0100
a3e2b5
Subject: [PATCH] test-network: ignore tunnel devices automatically added by
a3e2b5
 kernel
a3e2b5
a3e2b5
Fixes #10934.
a3e2b5
a3e2b5
(cherry picked from commit e327272d795453f68a4c30ba21eb0e887516cf68)
a3e2b5
---
a3e2b5
 test/test-execute/exec-privatenetwork-yes.service | 2 +-
a3e2b5
 1 file changed, 1 insertion(+), 1 deletion(-)
a3e2b5
a3e2b5
diff --git a/test/test-execute/exec-privatenetwork-yes.service b/test/test-execute/exec-privatenetwork-yes.service
a3e2b5
index a38d24912f..8f5cbadf04 100644
a3e2b5
--- a/test/test-execute/exec-privatenetwork-yes.service
a3e2b5
+++ b/test/test-execute/exec-privatenetwork-yes.service
a3e2b5
@@ -2,6 +2,6 @@
a3e2b5
 Description=Test for PrivateNetwork
a3e2b5
 
a3e2b5
 [Service]
a3e2b5
-ExecStart=/bin/sh -x -c '! ip link | grep ": " | grep -Ev ": (lo|sit0@.*):"'
a3e2b5
+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@.*):"'
a3e2b5
 Type=oneshot
a3e2b5
 PrivateNetwork=yes