restconf fcgi mem leak in indata
test pkill needs sleep before name settles
This commit is contained in:
parent
df05acdc9e
commit
3539a80d5e
6 changed files with 19 additions and 10 deletions
|
|
@ -382,9 +382,10 @@ function stop_restconf_pre(){
|
|||
}
|
||||
|
||||
# Stop restconf daemon after test
|
||||
# Two caveats in pkill:
|
||||
# Some problems with pkill:
|
||||
# 1) Dont use $clixon_restconf (dont work in valgrind)
|
||||
# 2) Dont use -u $WWWUSER since clixon_restconf may drop privileges.
|
||||
# 3) After fork, it seems to take some time before name is right
|
||||
function stop_restconf(){
|
||||
sudo pkill -f clixon_restconf
|
||||
if [ $valgrindtest -eq 3 ]; then
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue