From b3c863eae4c1ed30ff7ad4e42afe2ffd54c1803b Mon Sep 17 00:00:00 2001 From: Tom Jones Date: Wed, 7 Feb 2024 13:36:53 +0000 Subject: tests: Use gnu sed explicitly in test setup/tear down Type: improvement Change-Id: Ie79fd8a5bcfd72a97bf460ef6437913ac34f439c Signed-off-by: Tom Jones --- test/scripts/run_in_venv_with_cleanup.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit 1.2.3-korg