From 4dd827294d720e553f0a8d90533eeed52d0c178e Mon Sep 17 00:00:00 2001 From: Yu Watanabe Date: Dec 15 2020 09:45:29 +0000 Subject: test-network: ignore tunnel devices automatically added by kernel Fixes #10934. (cherry picked from commit e327272d795453f68a4c30ba21eb0e887516cf68) patch_name: 0088-test-network-ignore-tunnel-devices-automatically-add.patch present_in_specfile: true location_in_specfile: 88 squash_commits: true --- diff --git a/test/test-execute/exec-privatenetwork-yes.service b/test/test-execute/exec-privatenetwork-yes.service index a38d249..8f5cbad 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