summaryrefslogtreecommitdiff
path: root/source3/script
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2011-04-04 21:01:40 +1000
committerAndrew Bartlett <abartlet@samba.org>2011-04-04 23:50:06 +0200
commit2d22bbf2c0af57c1bb7665590960a9b888ee8a4d (patch)
tree5118b52af691577aeff639f6bf7c811988520a21 /source3/script
parentff9b6682a014f47e3b367c3286407bfc39fd286c (diff)
downloadsamba-2d22bbf2c0af57c1bb7665590960a9b888ee8a4d.tar.gz
samba-2d22bbf2c0af57c1bb7665590960a9b888ee8a4d.tar.bz2
samba-2d22bbf2c0af57c1bb7665590960a9b888ee8a4d.zip
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 <abartlet@samba.org> Autobuild-Date: Mon Apr 4 23:50:06 CEST 2011 on sn-devel-104
Diffstat (limited to 'source3/script')
-rwxr-xr-xsource3/script/tests/test_net_registry_roundtrip.sh2
1 files changed, 1 insertions, 1 deletions
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