s3-selftest: fix testparm tests as non-root.
[samba.git] / source3 / script / tests / test_testparm_s3.sh
index c88fc2d9d591e63d214f95856740e7041756a03b..b9e4b810cf0a74569d7f55afb85796e9151c52d3 100755 (executable)
@@ -5,7 +5,7 @@
 # The main purpose (for now) is to test all the special handlers
 # and the macro expansions.
 
-TEMP_CONFFILE=${LIBDIR}/smb.conf.tmp
+TEMP_CONFFILE=${LOCAL_PATH}/smb.conf.tmp
 TESTPARM="$VALGRIND ${TESTPARM:-$BINDIR/testparm} --suppress-prompt --skip-logic-checks"
 
 test x"$TEST_FUNCTIONS_SH" != x"INCLUDED" && {