SNMP frontend: added -z zap command-line option and pid-file exclusive check, fixed mem check

This commit is contained in:
Olof hagsand 2022-05-18 10:43:51 +02:00
parent 2366be0062
commit eb8d0c0b3a
6 changed files with 63 additions and 42 deletions

View file

@ -45,10 +45,10 @@ function memonce(){
;;
'snmp')
valgrindtest=1 # This means snmp valgrind test
sudo chmod 660 $valgrindfile
: ${DEMWAIT:=15} # valgrind backend needs some time to get up
clixon_snmp="/usr/bin/valgrind --num-callers=50 --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 /usr/local/sbin/clixon_snmp"
valgrindtest=4 # This means snmp valgrind test
sudo chmod 660 $valgrindfile
: ${DEMWAIT:=15} # valgrind snmp needs some time to get up
clixon_snmp="/usr/bin/valgrind --num-callers=50 --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 clixon_snmp"
;;
*)