Tests: have to terminate language test with KILL, side effect of BEREMIZ_TEST_CYCLES
authorEdouard Tisserant <edouard.tisserant@gmail.com>
Thu, 20 Jul 2023 16:21:26 +0200
changeset 3824 5f0b02ab500c
parent 3823 a95b5ee1a0ea
child 3825 269987dd4fb0
Tests: have to terminate language test with KILL, side effect of BEREMIZ_TEST_CYCLES
tests/cli_tests/iec61131_lang_test.bash
--- a/tests/cli_tests/iec61131_lang_test.bash	Thu Jul 20 16:16:05 2023 +0200
+++ b/tests/cli_tests/iec61131_lang_test.bash	Thu Jul 20 16:21:26 2023 +0200
@@ -7,7 +7,7 @@
 while read -t 5 -u ${COPROC[0]} line; do 
     echo "$line"
     if [[ "$line" == *ALL\ TESTS\ OK* ]]; then
-        pkill INT -s $COPROC_PID 
+        pkill -9 -s $COPROC_PID 
         exit 0
     fi
 done