preparations for 3.5.0

This commit is contained in:
Olof hagsand 2018-02-11 16:46:10 +07:00
parent 55010e7541
commit 6b0e0a9d18
10 changed files with 32 additions and 54 deletions

View file

@ -5,6 +5,18 @@
testnr=0
testname=
# For memcheck
#clixon_cli="valgrind --leak-check=full --show-leak-kinds=all clixon_cli"
clixon_cli=clixon_cli
# For memcheck / performance
#clixon_netconf="valgrind --leak-check=full --show-leak-kinds=all clixon_netconf"
# clixon_netconf="valgrind --tool=callgrind clixon_netconf
clixon_netconf=clixon_netconf
#clixon_backend="valgrind --leak-check=full --show-leak-kinds=all clixon_backend"
clixon_backend=clixon_backend
dir=/var/tmp/$0
if [ ! -d $dir ]; then
mkdir $dir

View file

@ -28,10 +28,6 @@ cat <<EOF > $cfg
</config>
EOF
# For memcheck
#clixon_cli="valgrind --leak-check=full --show-leak-kinds=all clixon_cli"
clixon_cli=clixon_cli
# kill old backend (if any)
new "kill old backend"
sudo clixon_backend -z -f $cfg
@ -39,7 +35,7 @@ if [ $? -ne 0 ]; then
err
fi
new "start backend -s init -f $cfg"
sudo clixon_backend -s init -f $cfg
sudo $clixon_backend -s init -f $cfg
if [ $? -ne 0 ]; then
err
fi

View file

@ -22,11 +22,6 @@ cat <<EOF > $cfg
</config>
EOF
# For memcheck
# clixon_netconf="valgrind --leak-check=full --show-leak-kinds=all clixon_netconf"
clixon_netconf=clixon_netconf
clixon_cli=clixon_cli
cat <<EOF > $fyang
module example{
import ietf-ip {

View file

@ -25,11 +25,6 @@ cat <<EOF > $cfg
</config>
EOF
# For memcheck
#clixon_netconf="valgrind --leak-check=full --show-leak-kinds=all clixon_netconf"
clixon_netconf=clixon_netconf
echo "clixon_backend -zf $cfg"
# kill old backend (if any)
new "kill old backend"

View file

@ -13,8 +13,7 @@ fyang=$dir/order.yang
# For memcheck
# clixon_netconf="valgrind --leak-check=full --show-leak-kinds=all clixon_netconf"
clixon_netconf=clixon_netconf
clixon_cli=clixon_cli
dbdir=$dir/order
new "Set up $dbdir"

View file

@ -22,12 +22,6 @@ cfg=$dir/scaling-conf.xml
fyang=$dir/scaling.yang
fconfig=$dir/config
# For memcheck
# clixon_netconf="valgrind --leak-check=full --show-leak-kinds=all clixon_netconf"
# clixon_netconf="valgrind --tool=callgrind clixon_netconf
clixon_netconf=clixon_netconf
cat <<EOF > $fyang
module ietf-ip{
container x {

View file

@ -10,11 +10,6 @@
. ./lib.sh
cfg=$dir/conf_startup.xml
# For memcheck
# clixon_netconf="valgrind --leak-check=full --show-leak-kinds=all clixon_netconf"
clixon_netconf=clixon_netconf
clixon_cli=clixon_cli
cat <<EOF > $cfg
<config>
<CLICON_CONFIGFILE>$cfg</CLICON_CONFIGFILE>

View file

@ -23,12 +23,6 @@ cat <<EOF > $cfg
</config>
EOF
# For memcheck
#clixon_cli="valgrind --leak-check=full --show-leak-kinds=all clixon_cli"
clixon_cli=clixon_cli
clixon_netconf=clixon_netconf
cat <<EOF > $fyang
module example{
typedef ab {

View file

@ -7,11 +7,6 @@
cfg=$dir/conf_yang.xml
fyang=$dir/test.yang
# For memcheck
# clixon_netconf="valgrind --leak-check=full --show-leak-kinds=all clixon_netconf"
clixon_netconf=clixon_netconf
clixon_cli=clixon_cli
cat <<EOF > $cfg
<config>
<CLICON_CONFIGFILE>$cfg</CLICON_CONFIGFILE>