l4p/tcp_ofo: fix killing l4fwd app in tests 72/24072/1
authorMariusz Drost <mariuszx.drost@intel.com>
Thu, 19 Dec 2019 13:49:58 +0000 (13:49 +0000)
committerMariusz Drost <mariuszx.drost@intel.com>
Thu, 19 Dec 2019 13:49:58 +0000 (13:49 +0000)
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

examples/l4fwd/test/config.sh

index 5932936..fef8fda 100644 (file)
@@ -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}