s4-auth: Add authsam_zero_bad_pwd_count to zero out badPwdCount and lockoutTime on...
[samba.git] / selftest / valgrind_run
index 5171d171a74b6ed277fc8878d3c7e88dfdfd092e..f06fa8629f8f6baca9ec44d411b1d84a31e9860f 100755 (executable)
@@ -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