s4:rpc_server: only pass dcesrv_auth to auth_state.session_key_fn()
[samba.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