tests/compare.py

branch
trunk
changeset 38
f637b9d24c21
parent 30
1015bbd6dc5e
child 42
4a4cab75d5e6
--- a/tests/compare.py	Fri Nov 23 11:59:27 2007 -0500
+++ b/tests/compare.py	Fri Nov 23 15:22:34 2007 -0500
@@ -117,9 +117,11 @@
             extra_options = ['!', '-name', TESTSCRIPT_NAME]
         else:
             target = ROOT_DIR
-            extra_options = ['-type', 'd',
+            extra_options = ['(', '(', '-type', 'd',
                              '!', '-name', 'CVS',
-                             '!', '-name', '.svn']
+                             '!', '-name', '.svn', ')',
+                             '-or', '-name', 'test-text',
+                             '-or', '-name', 'test-onefile', ')']
         status = subprocess.call(['find', target,
                                   '-mindepth', '1', '-maxdepth', '1'] +
                                  extra_options +

mercurial