Export variables correctly for blackbox tests (thanks metze).
authorJelmer Vernooij <jelmer@samba.org>
Mon, 20 Oct 2008 08:53:26 +0000 (10:53 +0200)
committerJelmer Vernooij <jelmer@samba.org>
Mon, 20 Oct 2008 08:53:26 +0000 (10:53 +0200)
selftest/selftest.pl
source4/selftest/tests.sh

index d1e9c8d6c801da154d31a9c31d5f6b817665f146..60eabe41d6669a86c502a726aec9f996b7428072 100755 (executable)
@@ -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($$)
 {
index b02b7bb890c2f80eabbb84f40f9d00c8ccac7a1a..42bc8141c6b43b2f122001d36862dba3ca65fd3f 100755 (executable)
@@ -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