diff options
-rwxr-xr-x | source4/script/tests/mktestsetup.sh | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/source4/script/tests/mktestsetup.sh b/source4/script/tests/mktestsetup.sh index bf13fd7e0f..f107f54ace 100755 --- a/source4/script/tests/mktestsetup.sh +++ b/source4/script/tests/mktestsetup.sh @@ -69,8 +69,15 @@ export PIDDIR rm -rf $PREFIX/* mkdir -p $PRIVATEDIR $ETCDIR $PIDDIR $NCALRPCDIR $LOCKDIR $TMPDIR $TLSDIR $LDAPDIR/db +if [ -z "$VALGRIND" ]; then + nativeiconv="true" +else + nativeiconv="false" +fi + cat >$CONFFILE<<EOF [global] + iconv:native = $nativeiconv netbios name = $NETBIOSNAME netbios aliases = $SERVER workgroup = $DOMAIN |