aboutsummaryrefslogtreecommitdiffstats
path: root/examples/l4fwd/test/run_test.sh
diff options
context:
space:
mode:
authorMariusz Drost <mariuszx.drost@intel.com>2020-01-31 12:25:10 +0000
committerKonstantin Ananyev <konstantin.ananyev@intel.com>2020-02-04 15:09:12 +0000
commit3082ee6bf092482074b26a5bbf34b3e417930c59 (patch)
treee113701252fc57921ffeb6e1bd4342317aac6aef /examples/l4fwd/test/run_test.sh
parentb3e45b24009263bd331ae5314d5bff99234c086c (diff)
l4p/tcp_ofo: ofo and loss tests merge
Addition of tests for packets that are out of order or lost that are executed on a single machine (with use of tap interface). Added tests are merged into existing test suite which runs on local/remote machine. Choice of mode is done with ETH_DEV variable. Signed-off-by: Mariusz Drost <mariuszx.drost@intel.com> Change-Id: I766ebda215310342d9dc1edf71bc3667648fdeff
Diffstat (limited to 'examples/l4fwd/test/run_test.sh')
-rw-r--r--examples/l4fwd/test/run_test.sh14
1 files changed, 9 insertions, 5 deletions
diff --git a/examples/l4fwd/test/run_test.sh b/examples/l4fwd/test/run_test.sh
index 690651a..431e973 100644
--- a/examples/l4fwd/test/run_test.sh
+++ b/examples/l4fwd/test/run_test.sh
@@ -2,18 +2,22 @@
# readme section---------------------------------------------------------------
-# usage: /bin/bash run_test.sh [-46lrh]
+# usage: /bin/bash run_test.sh [-46alrh]
#
# Run all tests using nctxrx.sh. Report stored and printed
# after tests were done. For details about options run
# script with -h (help)
#
# User needs to specify following environment variables:
-# ETH_DEV - ethernet device to be used on SUT by DPDK
+# L4FWD_PATH - path to l4fwd app binary
+# ETH_DEV - for real NIC usage - ethernet device to be used on SUT by DPDK
+# - for tap interface - tap
+#
+# User needs to set following enviroment variables in case of real NIC usage:
# REMOTE_HOST - ip/hostname of DUT
# REMOTE_IFACE - interface name for the test-port on DUT
# LOCAL_MAC - MAC address used by DPDK
-# L4FWD_PATH - path to l4fwd app binary
+#
# Optional envirenment variables:
# L4FWD_FECORE - core on which l4fwd frontend should run
# L4FWD_BECORE - core on which l4fwd backend should run
@@ -203,7 +207,7 @@ do
then
echo -e "\nTest for reorder: ${reorder}\t[OK]"
else
- echo -e "\nTest for reorder: $reorder}\t[FAIL]"
+ echo -e "\nTest for reorder: ${reorder}\t[FAIL]"
error_count=$(expr ${error_count} + 1)
fi
@@ -274,5 +278,5 @@ else
fi
# print report after all tests were done
-echo -e "Report\n"
+echo -e "Report:\n"
cat ${result}