From: Vincent Bernat Date: Wed, 20 May 2015 22:29:23 +0000 (+0200) Subject: tests: document the suppression file for valgrind X-Git-Tag: 0.7.15~6 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=a53e59f264aa112ca147c5f1feed17dd46e183f9;p=thirdparty%2Flldpd.git tests: document the suppression file for valgrind --- diff --git a/tests/lldpcli.conf b/tests/lldpcli.conf index 77038f1c..9a5b9fec 100644 --- a/tests/lldpcli.conf +++ b/tests/lldpcli.conf @@ -49,4 +49,4 @@ configure ports eth0 dot3 power pse supported enabled paircontrol powerpairs spa configure dot3 power pd supported enabled powerpairs spare class class-3 type 1 source pse priority low requested 10000 allocated 15000 # A convenient way to "test" lldpcli and liblldpctl is to load those commands in lldpcli with valgrind: -# libtool execute valgrind --leak-check=full src/client/lldpcli -c ../src/client/lldpcli.conf +# libtool execute valgrind --suppressions=../src/client/lldpcli.supp --leak-check=full src/client/lldpcli -c ../src/client/lldpcli.conf