From a53e59f264aa112ca147c5f1feed17dd46e183f9 Mon Sep 17 00:00:00 2001 From: Vincent Bernat Date: Thu, 21 May 2015 00:29:23 +0200 Subject: [PATCH] tests: document the suppression file for valgrind --- tests/lldpcli.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.39.5