diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2007-03-05 13:51:05 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 14:49:15 -0500 |
commit | 000a094318989eb5a221515e7870e71f28e36133 (patch) | |
tree | 530b20eee614c6519585eaba3765999ce14058e3 /source4/script/tests/mktestsetup.sh | |
parent | 0a1fefe5397d4bcc4c81f0102b38f868e4c84dbf (diff) | |
download | samba-000a094318989eb5a221515e7870e71f28e36133.tar.gz samba-000a094318989eb5a221515e7870e71f28e36133.tar.bz2 samba-000a094318989eb5a221515e7870e71f28e36133.zip |
r21700: Run mktestsetup as an external program. This guarantees that it can be used for other selftest implementations (in particular the perl one I've been working on).
(This used to be commit aa29907327a91a64c769b1f2712f553e13964418)
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" |