diff tests/test-remove @ 6356:b34b876d1f6f

test-remove: make it pass on Mac OS X 10.5
author Florent Guillaume <fg@nuxeo.com>
date Sat, 22 Mar 2008 21:13:22 +0100
parents 8e3b651382f5
children 62980dd86bf6
line wrap: on
line diff
--- a/tests/test-remove	Sat Mar 22 20:16:30 2008 +0100
+++ b/tests/test-remove	Sat Mar 22 21:13:22 2008 +0100
@@ -3,7 +3,8 @@
 remove() {
     hg rm $@
     hg st
-    ls -R
+    # do not use ls -R, which recurses in .hg subdirs on Mac OS X 10.5
+    find . ! -regex '.*/\.hg.*' -a -type f
     hg up -C
 }