diff --git a/tests/integration/test_cli.sh b/tests/integration/test_cli.sh index 121af3386..d0f6f3a1b 100755 --- a/tests/integration/test_cli.sh +++ b/tests/integration/test_cli.sh @@ -68,7 +68,7 @@ test_cancel_command() { send_command_to_commissioner "borderagent discover" "CANCELLED" & sleep 1 - pkill -s SIGINT "${COMMISSIONER_CLI}" + pkill --signal SIGINT "${COMMISSIONER_CLI}" stop_commissioner }