From e2a5b7da6a10e54a8ab8b41b64544794aaddbeb4 Mon Sep 17 00:00:00 2001 From: Gerald Carter Date: Wed, 24 Aug 2005 13:09:13 +0000 Subject: r9583: ensure that Samba was with with --enable-socket-wrapper for running 'make test' (This used to be commit 019155e748d9e04150bae39676362b794c1b6043) --- source3/script/tests/runtests.sh | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'source3/script/tests') diff --git a/source3/script/tests/runtests.sh b/source3/script/tests/runtests.sh index b814ad91e7..bb599ea3ec 100644 --- a/source3/script/tests/runtests.sh +++ b/source3/script/tests/runtests.sh @@ -44,6 +44,19 @@ export PRIVATEDIR LIBDIR PIDDIR LOCKDIR TMPDIR LOGDIR export SRCDIR SCRIPTDIR export USERNAME PASSWORD + +## +## verify that we were built with --enable-socket-wrapper +## + +if test "x`smbd -b | grep SOCKET_WRAPPER`" == "x"; then + echo "***" + echo "*** You must include --enable-socket-wrapper when compiling Samba" + echo "*** in order to execute 'make test'. Exiting...." + echo "***" + exit 1 +fi + ## ## create the test directory layout ## -- cgit