mem problem in refine/augment code
This commit is contained in:
parent
d3c392b69d
commit
42a974bf78
2 changed files with 16 additions and 10 deletions
|
|
@ -2,6 +2,9 @@
|
|||
# Run valgrind leak test for cli, restconf, netconf or background.
|
||||
# Stop on first error
|
||||
|
||||
# Pattern to run tests
|
||||
: ${pattern:=test_*.sh}
|
||||
|
||||
# Run valgrindtest once, args:
|
||||
# what: (cli|netconf|restconf|backend)* # no args means all
|
||||
memonce(){
|
||||
|
|
@ -45,7 +48,7 @@ memonce(){
|
|||
esac
|
||||
|
||||
err=0
|
||||
for test in test_*.sh; do
|
||||
for test in $pattern; do
|
||||
if [ $testnr != 0 ]; then echo; fi
|
||||
testfile=$test
|
||||
. ./$test
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue