changeset 14736:65f8f98aa924 stable

tests: solaris [ doesn't know -e
author Mads Kiilerich <mads@kiilerich.com>
date Sat, 25 Jun 2011 01:55:16 +0200
parents d297ee0b2d94
children b39ed8c8e5e5
files tests/test-setdiscovery.t
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/tests/test-setdiscovery.t	Sat Jun 25 01:55:15 2011 +0200
+++ b/tests/test-setdiscovery.t	Sat Jun 25 01:55:16 2011 +0200
@@ -3,7 +3,7 @@
 (which is currently not activated by default) and the full remotable protocol:
 
   $ testdesc() { # revs_a, revs_b, dagdesc
-  >     if [ -e foo ]; then rm -rf foo; fi
+  >     if [ -d foo ]; then rm -rf foo; fi
   >     hg init foo
   >     cd foo
   >     hg debugbuilddag "$3"