s3-selftest Look only under source3 for smb.conf files
authorAndrew Bartlett <abartlet@samba.org>
Mon, 4 Apr 2011 11:01:40 +0000 (21:01 +1000)
committerAndrew Bartlett <abartlet@samba.org>
Mon, 4 Apr 2011 21:50:06 +0000 (23:50 +0200)
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 <abartlet@samba.org>
Autobuild-Date: Mon Apr  4 23:50:06 CEST 2011 on sn-devel-104

source3/script/tests/test_net_registry_roundtrip.sh

index ca56f6d126a942a4dcc38dd768a4dffe6fe49a2e..f35a7524281bf7bcce6dc3822940eee0a74f9ac2 100755 (executable)
@@ -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