python:samba: add a generic string_to_byte_array() helper function
[Samba.git] / selftest / valgrind_run
blobf06fa8629f8f6baca9ec44d411b1d84a31e9860f
1 #!/bin/sh
3 ENV="$1"
5 shift 1
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 $@"
12 echo $CMD
13 eval $CMD