Commit 734103c9 authored by Lucas Russo's avatar Lucas Russo

run_valgrind.sh: fix config file argument

We now only pass the cfg_file as argument and
not the broker endpoint. The later is read from
the configuration file, among other options.
parent 37084ed2
...@@ -11,12 +11,12 @@ fi ...@@ -11,12 +11,12 @@ fi
if [ $# -ne $EXPECTED_ARGS ] if [ $# -ne $EXPECTED_ARGS ]
then then
echo "Usage: `basename $0` {broker endpoint}" echo "Usage: `basename $0` {cfg file}"
exit 1; exit 1;
fi fi
broker_endp=$1 cfg_file=$1
valgrind --leak-check=yes --trace-children=yes \ valgrind --leak-check=yes --trace-children=yes \
--suppressions=valgrind.supp ./dev_mngr "ipc://"$broker_endp > \ --suppressions=valgrind.supp ./dev_mngr -f $cfg_file > \
valgrind_report.txt 2>&1 valgrind_report.txt 2>&1
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment