s3:test: in net registry roundtrip test, exclude the files from exclude/logon
authorMichael Adam <obnox@samba.org>
Fri, 4 Mar 2011 23:50:21 +0000 (00:50 +0100)
committerMichael Adam <obnox@samba.org>
Sat, 5 Mar 2011 00:31:33 +0000 (01:31 +0100)
These files are not samba config files...

source3/script/tests/test_net_registry_roundtrip.sh

index ad07f2bc596039fdbc9c387e3fd98744350b92f0..d66c62874b59534b8f1767cb35b6a12c014f70aa 100755 (executable)
@@ -144,7 +144,7 @@ conf_roundtrip()
     rm -r $DIR
 }
 
-CONF_FILES=${CONF_FILES:-$(find $SRCDIR/ -name '*.conf' | xargs grep -l "\[global\]")}
+CONF_FILES=${CONF_FILES:-$(find $SRCDIR/ -name '*.conf' | grep -v examples/logon | xargs grep -l "\[global\]")}
 
 # remove old logs:
 for OLDDIR in $(find ${PREFIX} -type d -name "${LOGDIR_PREFIX}_*") ; do