#!/bin/sh # Tests for lp_load() via testparm. # # 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 --skip-logic-checks" test x"$TEST_FUNCTIONS_SH" != x"INCLUDED" && { incdir=`dirname $0` . $incdir/test_functions.sh } failed=0 test_include_expand_macro() { MACRO=$1 rm -f ${TEMP_CONFFILE} cat >${TEMP_CONFFILE}< ${TEMP_CONFFILE}< ${TEMP_CONFFILE}<