[dts] [PATCH V1 2/7]tests/TestSuite_kernelpf_iavf: fix kill l3fwd-power

Xiao Qimai qimaix.xiao at intel.com
Wed Apr 8 11:18:49 CEST 2020


Signed-off-by: Xiao Qimai <qimaix.xiao at intel.com>
---
 tests/TestSuite_kernelpf_iavf.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/TestSuite_kernelpf_iavf.py b/tests/TestSuite_kernelpf_iavf.py
index d5b2c7b..4e6af81 100644
--- a/tests/TestSuite_kernelpf_iavf.py
+++ b/tests/TestSuite_kernelpf_iavf.py
@@ -836,7 +836,7 @@ class TestKernelpfIavf(TestCase):
         out = self.dut.get_session_output()
         self.verify('L3FWD_POWER: lcore 6 is waked up from rx interrupt' in out, 'lcore 6 is not waked up')
         self.verify('L3FWD_POWER: lcore 7 is waked up from rx interrupt' in out, 'lcore 7 is not waked up')
-        self.dut.send_expect("^C", "# ", 60)
+        self.dut.send_expect("killall l3fwd-power", "# ", 60, alt_session=True)
         self.interrupt_flag = True
         time.sleep(1)
         self.destroy_2vf_in_2pf()
-- 
1.8.3.1



More information about the dts mailing list