diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2008-10-20 10:53:26 +0200 |
---|---|---|
committer | Jelmer Vernooij <jelmer@samba.org> | 2008-10-20 10:53:26 +0200 |
commit | c3d8f472e8acbfd73fdd4707f70a3d153f62f033 (patch) | |
tree | 4a4a9318b781806544cc9f11f5328f4a6b92926a | |
parent | 68bb6e56ba2ea4bda19c36193d7c366a04daf289 (diff) | |
download | samba-c3d8f472e8acbfd73fdd4707f70a3d153f62f033.tar.gz samba-c3d8f472e8acbfd73fdd4707f70a3d153f62f033.tar.bz2 samba-c3d8f472e8acbfd73fdd4707f70a3d153f62f033.zip |
Export variables correctly for blackbox tests (thanks metze).
-rwxr-xr-x | selftest/selftest.pl | 1 | ||||
-rwxr-xr-x | source4/selftest/tests.sh | 2 |
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 |