aboutsummaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorMariusz Drost <mariuszx.drost@intel.com>2019-12-19 13:49:58 +0000
committerMariusz Drost <mariuszx.drost@intel.com>2019-12-19 13:49:58 +0000
commit0ee0943991b7d2cb43c63c76ba59035cacbc1b91 (patch)
treeab5250ba9bd0f2429c9a5d79d1ec65efb3977eb7 /examples
parent21121578422385ed975f9724475ff17c133dc4ff (diff)
l4p/tcp_ofo: fix killing l4fwd app in tests
Between test cases l4fwd application is closed with kill command. Default kill signal is SIGTERM which is not supported in l4fwd. To close l4fwd cleanly, signal has been changed to SIGINT. Signed-off-by: Mariusz Drost <mariuszx.drost@intel.com> Change-Id: If083f18cab22766154cc80afa26d45d953277294
Diffstat (limited to 'examples')
-rw-r--r--examples/l4fwd/test/config.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/l4fwd/test/config.sh b/examples/l4fwd/test/config.sh
index 5932936..fef8fda 100644
--- a/examples/l4fwd/test/config.sh
+++ b/examples/l4fwd/test/config.sh
@@ -235,7 +235,7 @@ EOF
l4fwd_stop()
{
# kill runnning l4fwd app
- kill ${L4FWD_PID}
+ kill -s SIGINT ${L4FWD_PID}
# remove temporary files
rm -f ${L4FWD_EXEC_FILE}