aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/report_tests/plugin_tests/networking.py9
1 files changed, 6 insertions, 3 deletions
diff --git a/tests/report_tests/plugin_tests/networking.py b/tests/report_tests/plugin_tests/networking.py
index 4ae80a41..360d5552 100644
--- a/tests/report_tests/plugin_tests/networking.py
+++ b/tests/report_tests/plugin_tests/networking.py
@@ -33,6 +33,9 @@ class NetworkingPluginTest(StageOneReportTest):
def test_netdevs_properly_iterated(self):
for dev in os.listdir('/sys/class/net'):
- self.assertFileGlobInArchive(
- "sos_commands/networking/ethtool_*_%s" % dev
- )
+ # some file(s) in the dir might not be real netdevs, see e.g.
+ # https://lwn.net/Articles/142330/
+ if not dev.startswith('bonding_'):
+ self.assertFileGlobInArchive(
+ "sos_commands/networking/ethtool_*_%s" % dev
+ )