From: Jelmer Vernooij Date: Mon, 20 Oct 2008 08:53:26 +0000 (+0200) Subject: Export variables correctly for blackbox tests (thanks metze). X-Git-Tag: samba-4.0.0alpha6~778^2~20 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c3d8f472e8acbfd73fdd4707f70a3d153f62f033;p=thirdparty%2Fsamba.git Export variables correctly for blackbox tests (thanks metze). --- diff --git a/selftest/selftest.pl b/selftest/selftest.pl index d1e9c8d6c80..60eabe41d66 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 b02b7bb890c..42bc8141c6b 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