selftest: Test join.py and confirm that the DNS record is created
[sfrench/samba-autobuild/.git] / selftest / valgrind_run
1 #!/bin/sh
2
3 ENV="$1"
4
5 shift 1
6
7 CMD="$ENV valgrind --num-callers=30
8 --trace-children=yes --log-file=valgrind.%p.log
9 ${VALGRIND_OPT- --time-stamp=yes --track-fds=yes --read-var-info=yes --track-origins=yes --leak-check=yes}
10 $@"
11
12 echo $CMD
13 eval $CMD