1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-21 09:34:19 +03:00

selftest: set valgrind options

In particular '--db-attach' interferes badly with the io redirection of the
test environment and is superseded by the vgdb feature of valgrind.

Signed-off-by: Gregor Beck <gbeck@sernet.de>
Reviewed-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Michael Adam <obnox@samba.org>
This commit is contained in:
Gregor Beck 2013-03-20 10:36:37 +01:00 committed by Michael Adam
parent db9188fbff
commit c140fe0e14

View File

@ -4,6 +4,10 @@ ENV="$1"
shift 1
CMD="$ENV valgrind -q --db-attach=yes --num-callers=30 $@"
CMD="$ENV valgrind --num-callers=30
--trace-children=yes --log-file=valgrind.%p.log
${VALGRIND_OPT- --time-stamp=yes --track-fds=yes --read-var-info=yes --track-origins=yes --leak-check=yes}
$@"
echo $CMD
eval $CMD