memleak
This commit is contained in:
parent
a387c599e2
commit
28a62ecb11
4 changed files with 14 additions and 5 deletions
|
|
@ -232,6 +232,9 @@ wait_restconf(){
|
|||
err "restconf timeout $RCWAIT seconds"
|
||||
fi
|
||||
done
|
||||
if [ $valgrindtest -eq 3 ]; then
|
||||
sleep 2 # some problems with valgrind
|
||||
fi
|
||||
}
|
||||
|
||||
# Increment test number and print a nice string
|
||||
|
|
|
|||
|
|
@ -36,7 +36,7 @@ memonce(){
|
|||
valgrindtest=3 # This means backend valgrind test
|
||||
sudo chmod 660 $valgrindfile
|
||||
sudo chown www-data $valgrindfile
|
||||
: ${RCWAIT:=10} # valgrind backend needs some time to get up
|
||||
: ${RCWAIT:=15} # valgrind backend needs some time to get up
|
||||
clixon_restconf="/usr/bin/valgrind --leak-check=full --show-leak-kinds=all --suppressions=./valgrind-clixon.supp --track-fds=yes --trace-children=no --child-silent-after-fork=yes --log-file=$valgrindfile /www-data/clixon_restconf"
|
||||
|
||||
;;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue