# The main purpose (for now) is to test all the special handlers
# and the macro expansions.
-TEMP_CONFFILE=${LIBDIR}/smb.conf.tmp
-TESTPARM="$VALGRIND ${TESTPARM:-$BINDIR/testparm} --suppress-prompt"
+TEMP_CONFFILE=${LOCAL_PATH}/smb.conf.tmp
+TESTPARM="$VALGRIND ${TESTPARM:-$BINDIR/testparm} --suppress-prompt --skip-logic-checks"
+test x"$TEST_FUNCTIONS_SH" != x"INCLUDED" && {
incdir=`dirname $0`
. $incdir/test_functions.sh
+}
failed=0
test_one_global_option()
{
- OPTION=$1
+ OPTION="$@"
rm -f ${TEMP_CONFFILE}
cat > ${TEMP_CONFFILE}<<EOF
[global]