From c3d8f472e8acbfd73fdd4707f70a3d153f62f033 Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Mon, 20 Oct 2008 10:53:26 +0200 Subject: [PATCH] Export variables correctly for blackbox tests (thanks metze). --- selftest/selftest.pl | 1 + source4/selftest/tests.sh | 2 ++ 2 files changed, 3 insertions(+) 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 -- 2.47.2