Remove Teminated
message from stdout
Signed-off-by: Jerry Yu <jerry.h.yu@arm.com>
This commit is contained in:
parent
919ff15ecf
commit
d2d4110e8e
1 changed files with 6 additions and 4 deletions
|
@ -874,12 +874,12 @@ wait_client_done() {
|
|||
( sleep $CLI_DELAY; echo "===CLIENT_TIMEOUT===" >> $CLI_OUT; kill $CLI_PID ) &
|
||||
DOG_PID=$!
|
||||
|
||||
wait $CLI_PID
|
||||
# For Ubuntu 22.04, `Terminated` message is outputed by wait command.
|
||||
# To remove it from stdout, redirect stdout/stderr to CLI_OUT
|
||||
wait $CLI_PID >> $CLI_OUT 2>&1
|
||||
CLI_EXIT=$?
|
||||
|
||||
kill $DOG_PID >/dev/null 2>&1
|
||||
# For Ubuntu 22.04, `Terminated` message is outputed by wait command.
|
||||
# To remove it from stdout, redirect stdout/stderr to CLI_OUT
|
||||
wait $DOG_PID >> $CLI_OUT 2>&1
|
||||
|
||||
echo "EXIT: $CLI_EXIT" >> $CLI_OUT
|
||||
|
@ -1230,7 +1230,9 @@ do_run_test_once() {
|
|||
|
||||
# terminate the server (and the proxy)
|
||||
kill $SRV_PID
|
||||
wait $SRV_PID
|
||||
# For Ubuntu 22.04, `Terminated` message is outputed by wait command.
|
||||
# To remove it from stdout, redirect stdout/stderr to CLI_OUT
|
||||
wait $SRV_PID >> $SRV_OUT 2>&1
|
||||
SRV_RET=$?
|
||||
|
||||
if [ -n "$PXY_CMD" ]; then
|
||||
|
|
Loading…
Reference in a new issue