tests: solaris [ doesn't know -e stable
authorMads Kiilerich <mads@kiilerich.com>
Sat, 25 Jun 2011 01:55:16 +0200
branchstable
changeset 14736 65f8f98aa924
parent 14735 d297ee0b2d94
child 14737 b39ed8c8e5e5
tests: solaris [ doesn't know -e
tests/test-setdiscovery.t
--- 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"