From: Tom Jones Date: Wed, 7 Feb 2024 13:36:53 +0000 (+0000) Subject: tests: Use gnu sed explicitly in test setup/tear down X-Git-Tag: v24.10-rc0~126 X-Git-Url: https://gerrit.fd.io/r/gitweb?a=commitdiff_plain;ds=sidebyside;h=b3c863eae4c1ed30ff7ad4e42afe2ffd54c1803b;p=vpp.git tests: Use gnu sed explicitly in test setup/tear down Type: improvement Change-Id: Ie79fd8a5bcfd72a97bf460ef6437913ac34f439c Signed-off-by: Tom Jones --- diff --git a/test/scripts/run_in_venv_with_cleanup.sh b/test/scripts/run_in_venv_with_cleanup.sh index 3f9d44ff4b5..454c9c9c4ad 100755 --- a/test/scripts/run_in_venv_with_cleanup.sh +++ b/test/scripts/run_in_venv_with_cleanup.sh @@ -21,7 +21,7 @@ panic() { atexit() { group_id=`ps -p $$ -o pgid=` my_id=$$ - ids=`pgrep -g $group_id -d ' ' | sed "s/\b$my_id\b//g"` + ids=`pgrep -g $group_id -d ' ' | gsed "s/\b$my_id\b//g"` echo "Killing possible remaining process IDs: $ids" for id in $ids do