summaryrefslogtreecommitdiff
path: root/source4/selftest
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2008-04-17 14:25:22 +0200
committerAndrew Bartlett <abartlet@samba.org>2008-04-17 14:25:22 +0200
commit7d38a51af9125ec2c98679416012fbbe721568f5 (patch)
treedc2ee664d322b8aecedaec3a67df6768fcae3734 /source4/selftest
parentca2e4a0e14a005843d19514d924e5adc924c5c5d (diff)
parentd7034765b765e6ac522aed6ab5d0f52b5a2ed033 (diff)
downloadsamba-7d38a51af9125ec2c98679416012fbbe721568f5.tar.gz
samba-7d38a51af9125ec2c98679416012fbbe721568f5.tar.bz2
samba-7d38a51af9125ec2c98679416012fbbe721568f5.zip
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into 4-0-abartlet
(This used to be commit 8d9812bada2801f93eb47270287b3c083a3e9df8)
Diffstat (limited to 'source4/selftest')
-rw-r--r--source4/selftest/target/Samba4.pm6
1 files changed, 6 insertions, 0 deletions
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");