diff options
author | Stefan Metzmacher <metze@samba.org> | 2007-12-23 20:09:16 +0100 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2007-12-23 20:09:16 +0100 |
commit | 4e53afccb1470b8d889f7300ad77a497f38ed418 (patch) | |
tree | 1c3408f8fb51ddc84ea08ec1c332ca23e9a290e2 /source3/script/tests/selftest.sh | |
parent | 4c364e3078795ff38d55503c4351b2bf3bc9e6bc (diff) | |
download | samba-4e53afccb1470b8d889f7300ad77a497f38ed418.tar.gz samba-4e53afccb1470b8d889f7300ad77a497f38ed418.tar.bz2 samba-4e53afccb1470b8d889f7300ad77a497f38ed418.zip |
selftest: also export LD_LIBRARY_PATH for samba4's smbtorture
metze
(This used to be commit f5570dcf503a4b28ebf624d06fd090f3b6b0a560)
Diffstat (limited to 'source3/script/tests/selftest.sh')
-rwxr-xr-x | source3/script/tests/selftest.sh | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/source3/script/tests/selftest.sh b/source3/script/tests/selftest.sh index d4264bab8c..86abb15ed1 100755 --- a/source3/script/tests/selftest.sh +++ b/source3/script/tests/selftest.sh @@ -62,7 +62,6 @@ export PATH SOCKET_WRAPPER_DIR DOMAIN export PRIVATEDIR LIBDIR PIDDIR LOCKDIR LOGDIR SERVERCONFFILE export SRCDIR SCRIPTDIR BINDIR export USERNAME PASSWORD -export SMBTORTURE4 export WORKGROUP SERVER SERVER_IP export NSS_WRAPPER_PASSWD NSS_WRAPPER_GROUP export WINBINDD_SOCKET_DIR WINBINDD_PRIV_PIPE_DIR @@ -70,10 +69,20 @@ export WINBINDD_SOCKET_DIR WINBINDD_PRIV_PIPE_DIR PATH=bin:$PATH export PATH -LD_LIBRARY_PATH="$LD_LIBRARY_PATH":"$BINDIR" +if test x"$LD_LIBRARY_PATH" != x""; then + LD_LIBRARY_PATH="$BINDIR:$LD_LIBRARY_PATH" +else + LD_LIBRARY_PATH="$BINDIR" +fi echo "LD_LIBRARY_PATH=$LD_LIBRARY_PATH" export LD_LIBRARY_PATH +SAMBA4BINDIR=`dirname $SMBTORTURE4` +SAMBA4SHAREDDIR="$SAMBA4BINDIR/shared" + +export SAMBA4SHAREDDIR +export SMBTORTURE4 + ## ## verify that we were built with --enable-socket-wrapper ## |