mem problem in refine/augment code

This commit is contained in:
Olof Hagsand 2019-06-05 09:54:13 +00:00
parent d3c392b69d
commit 42a974bf78
2 changed files with 16 additions and 10 deletions

View file

@ -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