summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2008-10-20 10:53:26 +0200
committerJelmer Vernooij <jelmer@samba.org>2008-10-20 10:53:26 +0200
commitc3d8f472e8acbfd73fdd4707f70a3d153f62f033 (patch)
tree4a4a9318b781806544cc9f11f5328f4a6b92926a
parent68bb6e56ba2ea4bda19c36193d7c366a04daf289 (diff)
downloadsamba-c3d8f472e8acbfd73fdd4707f70a3d153f62f033.tar.gz
samba-c3d8f472e8acbfd73fdd4707f70a3d153f62f033.tar.bz2
samba-c3d8f472e8acbfd73fdd4707f70a3d153f62f033.zip
Export variables correctly for blackbox tests (thanks metze).
-rwxr-xr-xselftest/selftest.pl1
-rwxr-xr-xsource4/selftest/tests.sh2
2 files changed, 3 insertions, 0 deletions
diff --git a/selftest/selftest.pl b/selftest/selftest.pl
index d1e9c8d6c8..60eabe41d6 100755
--- a/selftest/selftest.pl
+++ b/selftest/selftest.pl
@@ -533,6 +533,7 @@ my $interfaces = join(',', ("127.0.0.6/8",
"127.0.0.11/8"));
my $conffile = "$prefix_abs/client/client.conf";
+$ENV{SMB_CONF_PATH} = $conffile;
sub write_clientconf($$)
{
diff --git a/source4/selftest/tests.sh b/source4/selftest/tests.sh
index b02b7bb890..42bc8141c6 100755
--- a/source4/selftest/tests.sh
+++ b/source4/selftest/tests.sh
@@ -81,7 +81,9 @@ smb4torture="$samba4bindir/smbtorture $TORTURE_OPTIONS"
echo "OPTIONS $TORTURE_OPTIONS"
SMB_CONF_PATH="$conffile"
+export SMB_CONF_PATH
CONFIGURATION="--configfile=$conffile"
+export CONFIGURATION
# Simple tests for LDAP and CLDAP