summaryrefslogtreecommitdiff
path: root/smoketest
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2023-05-29 09:57:32 +0200
committerChristian Breunig <christian@breunig.cc>2023-05-29 09:57:32 +0200
commit8b47a1ff532d54e5f49120dbdfab5dd5225702cb (patch)
treef77ae1c0ebc4c1e274f18a09e7d48390170e4944 /smoketest
parentea01c2df78ddb9a6dcaf65c3d9bb2a267c8df883 (diff)
downloadvyos-1x-8b47a1ff532d54e5f49120dbdfab5dd5225702cb.tar.gz
vyos-1x-8b47a1ff532d54e5f49120dbdfab5dd5225702cb.zip
smoketest: T5242: fix precondition check for VLAN MTU testcase
Diffstat (limited to 'smoketest')
-rw-r--r--smoketest/scripts/cli/base_interfaces_test.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/smoketest/scripts/cli/base_interfaces_test.py b/smoketest/scripts/cli/base_interfaces_test.py
index 8cdf476d4..348741715 100644
--- a/smoketest/scripts/cli/base_interfaces_test.py
+++ b/smoketest/scripts/cli/base_interfaces_test.py
@@ -378,7 +378,7 @@ class BasicInterfaceTest:
# is the Wireless test will first load the wifi kernel hwsim module
# which creates a wlan0 and wlan1 interface which will fail the
# tearDown() test in the end that no interface is allowed to survive!
- if not self._test_vlan:
+ if not self._test_vlan or not self._test_mtu:
self.skipTest('not supported')
mtu_1500 = '1500'