From 5be7b6a1b2e197a6d185fc6223ff1e7acc4c3e27 Mon Sep 17 00:00:00 2001 From: Andrew Gregory Date: Mon, 6 Jan 2014 15:19:33 -0500 Subject: pmtest: use valgrind --child-silent-after-fork Silences false warnings after alpm forks to run install scripts. Signed-off-by: Andrew Gregory Signed-off-by: Allan McRae --- test/pacman/pmtest.py | 1 + 1 file changed, 1 insertion(+) diff --git a/test/pacman/pmtest.py b/test/pacman/pmtest.py index 1c3ea7cf..e780a6d1 100644 --- a/test/pacman/pmtest.py +++ b/test/pacman/pmtest.py @@ -221,6 +221,7 @@ class pmtest(object): "--tool=memcheck", "--leak-check=full", "--show-reachable=yes", "--gen-suppressions=all", + "--child-silent-after-fork=yes", "--log-file=%s" % os.path.join(self.root, "var/log/valgrind"), "--suppressions=%s" % suppfile]) cmd.extend([pacman["bin"], -- cgit v1.2.3-70-g09d2