From d7034765b765e6ac522aed6ab5d0f52b5a2ed033 Mon Sep 17 00:00:00 2001 From: Simo Sorce Date: Thu, 17 Apr 2008 08:04:57 -0400 Subject: Add useful provisioning debugging options (This used to be commit 3f46eb95e47828ba1db236d584933c997cb0c170) --- source4/selftest/target/Samba4.pm | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/source4/selftest/target/Samba4.pm b/source4/selftest/target/Samba4.pm index 069aff73cf..9488ae3e04 100644 --- a/source4/selftest/target/Samba4.pm +++ b/source4/selftest/target/Samba4.pm @@ -695,6 +695,12 @@ nogroup:x:65534:nobody my @provision_options = (); push (@provision_options, "NSS_WRAPPER_PASSWD=\"$nsswrap_passwd\""); push (@provision_options, "NSS_WRAPPER_GROUP=\"$nsswrap_group\""); + if (defined($ENV{GDB_PROVISION})) { + push (@provision_options, "gdb --args"); + } + if (defined($ENV{VALGRIND_PROVISION})) { + push (@provision_options, "valgrind"); + } if (defined($ENV{PROVISION_EJS})) { push (@provision_options, "$self->{bindir}/smbscript"); push (@provision_options, "$self->{setupdir}/provision.js"); -- cgit