diff options
Diffstat (limited to 'source4/script/tests/mktestsetup.sh')
-rwxr-xr-x | source4/script/tests/mktestsetup.sh | 15 |
1 files changed, 1 insertions, 14 deletions
diff --git a/source4/script/tests/mktestsetup.sh b/source4/script/tests/mktestsetup.sh index 4c9a828315..a92def64fd 100755 --- a/source4/script/tests/mktestsetup.sh +++ b/source4/script/tests/mktestsetup.sh @@ -1,4 +1,5 @@ #!/bin/sh +# Build a test environment for running Samba if [ $# -lt 1 ] then @@ -39,11 +40,9 @@ srcdir=`dirname $0`/../.. mkdir -p $PREFIX || exit $? cd $PREFIX PREFIX_ABS=`pwd` -export PREFIX_ABS cd $oldpwd TEST_DATA_PREFIX=$PREFIX_ABS -export TEST_DATA_PREFIX TMPDIR=$PREFIX_ABS/tmp ETCDIR=$PREFIX_ABS/etc @@ -58,13 +57,6 @@ WINBINDD_SOCKET_DIR=$PREFIX_ABS/winbind_socket CONFIGURATION="--configfile=$CONFFILE" LDAPDIR=$PREFIX_ABS/ldap -export CONFIGURATION -export CONFFILE -export PIDDIR -export AUTH -export SERVER -export NETBIOSNAME - rm -rf $PREFIX/* mkdir -p $PRIVATEDIR $ETCDIR $PIDDIR $NCALRPCDIR $LOCKDIR $TMPDIR $LDAPDIR/db $LDAPDIR/db/bdb-logs $LDAPDIR/db/tmp @@ -239,7 +231,6 @@ cat >$KRB5_CONFIG<<EOF [domain_realm] .samba.example.com = SAMBA.EXAMPLE.COM EOF -export KRB5_CONFIG . `dirname $0`/mk-keyblobs.sh @@ -301,11 +292,7 @@ echo "REALM=$REALM" echo "DNSNAME=$DNSNAME" echo "BASEDN=$BASEDN" echo "PASSWORD=$PASSWORD" -echo "AUTH=$AUTH" echo "SRCDIR=$SRCDIR" -echo "ROOT=$ROOT" -echo "SERVER=$SERVER" -echo "NETBIOSNAME=$NETBIOSNAME" echo "PREFIX=$PREFIX" echo "SMBD_LOGLEVEL=$SMBD_LOGLEVEL" echo "LDAPDIR=$LDAPDIR" |