mirror of
https://github.com/samba-team/samba.git
synced 2024-12-27 03:21:53 +03:00
c140fe0e14
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>
14 lines
246 B
Bash
Executable File
14 lines
246 B
Bash
Executable File
#!/bin/sh
|
|
|
|
ENV="$1"
|
|
|
|
shift 1
|
|
|
|
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
|