[dts] [PATCH V1] update ring pmd unit test case
xu,huilong
huilongx.xu at intel.com
Wed Sep 21 04:11:05 CEST 2016
ring pmd unit test device name chaned by development
Signed-off-by: xu,huilong <huilongx.xu at intel.com>
---
test_plans/unit_tests_ringpmd_test_plan.rst | 4 ++--
tests/TestSuite_unit_tests_ringpmd.py | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/test_plans/unit_tests_ringpmd_test_plan.rst b/test_plans/unit_tests_ringpmd_test_plan.rst
index 31f703b..7ffba8b 100644
--- a/test_plans/unit_tests_ringpmd_test_plan.rst
+++ b/test_plans/unit_tests_ringpmd_test_plan.rst
@@ -52,8 +52,8 @@ virtual ethernet devices with full rx&tx functions.
The steps to run the unit test manually are as follow::
# make -C ./app/test/
- # ./app/test/test -n 1 -c ffff --vdev='eth_ring0,nodeaction=:0:CREATE'
- --vdev='eth_ring1,nodeaction=:0:CREATE' --vdev='eth ring2,nodeaction=:0:CREATE'
+ # ./app/test/test -n 1 -c ffff --vdev='net_ring0'
+ --vdev='net_ring1'
RTE>> ring_pmd_autotest
The final output of the test has to be "Test OK"
diff --git a/tests/TestSuite_unit_tests_ringpmd.py b/tests/TestSuite_unit_tests_ringpmd.py
index 2c83bcd..b6d21bb 100644
--- a/tests/TestSuite_unit_tests_ringpmd.py
+++ b/tests/TestSuite_unit_tests_ringpmd.py
@@ -69,7 +69,7 @@ class TestUnitTestsRingPmd(TestCase):
"""
Run Inter-VM share memory test.
"""
- dev_str = "--vdev=eth_ring0 --vdev=eth_ring1"
+ dev_str = "--vdev=net_ring0 --vdev=net_ring1"
self.dut.send_expect("./%s/app/test -n 1 -c ffff" % self.target, "R.*T.*E.*>.*>", 10)
out = self.dut.send_expect("ring_pmd_autotest", "RTE>>", 120)
--
1.9.3
More information about the dts
mailing list