test-execute: filter out ip6tnl0@ and ip6gre0@ interfaces

Those interfaces are created automatically when ip6_tunnel and ip6_gre loaded.
They break the test with exec-privatenetwork-yes.service.

C.f. 6b08180ca6.
This commit is contained in:
Zbigniew Jędrzejewski-Szmek 2018-10-09 14:08:09 +02:00
parent 3f6f58e03a
commit a90c04b6b7
1 changed files with 1 additions and 1 deletions

View File

@ -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 ": " | grep -Ev ": (lo|(sit0|ip6tnl0|ip6gre0)@.*):"'
Type=oneshot
PrivateNetwork=yes