Index: client/tests/kvm/tests/ethtool.py |
diff --git a/client/tests/kvm/tests/ethtool.py b/client/tests/kvm/tests/ethtool.py |
index 81e45d3da83a5e053ba2f3ccb0881360da14e0c6..d7c6b5746e594c59ee8e6d20628af82c67f0fee9 100644 |
--- a/client/tests/kvm/tests/ethtool.py |
+++ b/client/tests/kvm/tests/ethtool.py |
@@ -191,7 +191,11 @@ def run_ethtool(test, params, env): |
filename = "/tmp/ethtool.dd" |
guest_ip = vm.get_address() |
ethname = kvm_test_utils.get_linux_ifname(session, vm.get_mac_address(0)) |
- supported_features = params.get("supported_features").split() |
+ supported_features = params.get("supported_features") |
+ if supported_features: |
+ supported_features = supported_features.split() |
+ else: |
+ supported_features = [] |
test_matrix = { |
# type:(callback, (dependence), (exclude) |
"tx": (tx_callback, (), ()), |