Code Review
/
vpp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
800386a
)
tests: Use gnu sed explicitly in test setup/tear down
10/40610/2
author
Tom Jones
<thj@freebsd.org>
Wed, 7 Feb 2024 13:36:53 +0000
(13:36 +0000)
committer
Dave Wallace
<dwallacelf@gmail.com>
Tue, 2 Apr 2024 02:26:29 +0000
(
02:26
+0000)
Type: improvement
Change-Id: Ie79fd8a5bcfd72a97bf460ef6437913ac34f439c
Signed-off-by: Tom Jones <thj@freebsd.org>
test/scripts/run_in_venv_with_cleanup.sh
patch
|
blob
|
history
diff --git
a/test/scripts/run_in_venv_with_cleanup.sh
b/test/scripts/run_in_venv_with_cleanup.sh
index
3f9d44f
..
454c9c9
100755
(executable)
--- 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 ' ' |
g
sed "s/\b$my_id\b//g"`
echo "Killing possible remaining process IDs: $ids"
for id in $ids
do