diff mbox series

[V1,7/9] tests/iavf_flexible_descriptor: update case code for driver change

Message ID 1634717221-221075-7-git-send-email-songx.jiale@intel.com (mailing list archive)
State Superseded
Headers show
Series [V1,1/9] tests/cvl_dcf_flow_priority: update case code for driver change | expand

Commit Message

Jiale Song Oct. 20, 2021, 8:06 a.m. UTC
Signed-off-by: Jiale Song <songx.jiale@intel.com>
---
 tests/TestSuite_iavf_flexible_descriptor.py | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
 mode change 100644 => 100755 tests/TestSuite_iavf_flexible_descriptor.py
diff mbox series

Patch

diff --git a/tests/TestSuite_iavf_flexible_descriptor.py b/tests/TestSuite_iavf_flexible_descriptor.py
old mode 100644
new mode 100755
index e5cd9b3..2d19134
--- a/tests/TestSuite_iavf_flexible_descriptor.py
+++ b/tests/TestSuite_iavf_flexible_descriptor.py
@@ -81,7 +81,7 @@  class TestIavfFlexibleDescriptor(TestCase, FlexibleRxdBase):
         # set vf assign method and vf driver
         vf_driver = 'vfio-pci'
         self.pf0_intf = self.dut.ports_info[self.dut_ports[dut_index]]['intf']
-        self.dut.send_expect('ethtool --set-priv-flags {} vf-vlan-prune-disable on'.format(self.pf0_intf),'#')
+        self.dut.send_expect('ethtool --set-priv-flags {} vf-vlan-pruning off'.format(self.pf0_intf),'# ')
         # generate 2 VFs on PF
         self.dut.generate_sriov_vfs_by_port(
             used_dut_port, 1, driver=self.kdriver)
@@ -118,7 +118,6 @@  class TestIavfFlexibleDescriptor(TestCase, FlexibleRxdBase):
         """
         self.destroy_vf()
         self.restore_compilation()
-        self.dut.send_expect('ethtool --set-priv-flags {} vf-vlan-prune-disable off'.format(self.pf0_intf), '#')
 
     def set_up(self):
         """