From 2d22bbf2c0af57c1bb7665590960a9b888ee8a4d Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Mon, 4 Apr 2011 21:01:40 +1000 Subject: s3-selftest Look only under source3 for smb.conf files This test looks for any .conf file with [global] in it, and assumes it's a Samba3 format smb.conf file. If 'make test' has been run in the top level build, it was finding the smb.conf files it generated. Andrew Bartlett Autobuild-User: Andrew Bartlett Autobuild-Date: Mon Apr 4 23:50:06 CEST 2011 on sn-devel-104 --- source3/script/tests/test_net_registry_roundtrip.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source3/script') diff --git a/source3/script/tests/test_net_registry_roundtrip.sh b/source3/script/tests/test_net_registry_roundtrip.sh index ca56f6d126..f35a752428 100755 --- a/source3/script/tests/test_net_registry_roundtrip.sh +++ b/source3/script/tests/test_net_registry_roundtrip.sh @@ -144,7 +144,7 @@ conf_roundtrip() rm -r $DIR } -CONF_FILES=${CONF_FILES:-$(find $SRCDIR/ -name '*.conf' | grep -v examples/logon | xargs grep -l "\[global\]")} +CONF_FILES=${CONF_FILES:-$(find $SRCDIR/source3 -name '*.conf' | grep -v examples/logon | xargs grep -l "\[global\]")} # remove old logs: for OLDDIR in $(find ${PREFIX} -type d -name "${LOGDIR_PREFIX}_*") ; do -- cgit