memory leaks
This commit is contained in:
parent
51a28f9bbf
commit
b31297cb21
5 changed files with 98 additions and 17 deletions
|
|
@ -31,7 +31,7 @@ memonce(){
|
|||
perfnr=100 # test_perf.sh restconf put more or less stops
|
||||
perfreq=10
|
||||
|
||||
clixon_backend="/usr/bin/valgrind --leak-check=full --show-leak-kinds=all --suppressions=./valgrind-clixon.supp --track-fds=yes --trace-children=yes --log-file=$valgrindfile clixon_backend"
|
||||
clixon_backend="/usr/bin/valgrind --num-callers=50 --leak-check=full --show-leak-kinds=all --suppressions=./valgrind-clixon.supp --track-fds=yes --trace-children=yes --log-file=$valgrindfile clixon_backend"
|
||||
;;
|
||||
'restconf')
|
||||
valgrindtest=3 # This means backend valgrind test
|
||||
|
|
|
|||
|
|
@ -10,6 +10,7 @@
|
|||
# with different paths.
|
||||
# Using the -sS <file> state capability of the main example, that is why CLICON_BACKEND_DIR is
|
||||
# /usr/local/lib/$APPNAME/backend so that the main backend plugins is included.
|
||||
# These tests require VALIDATE_STATE_XML to be set
|
||||
|
||||
# Magic line must be first in script (see README.md)
|
||||
s="$_" ; . ./lib.sh || if [ "$s" = $0 ]; then exit 0; else return 0; fi
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue