diff tests/test-fncache @ 8721:2816239e0020

test-fncache: Use find instead of ls -R. Different platforms implement -R differently (and it produces unneccessarily verbose output in this case). find is just as good and more consistent. Unbreaks test on OpenBSD. Edited by pmezard: added 'sort' call
author Will Maier <willmaier@ml1.net>
date Thu, 04 Jun 2009 18:11:11 -0600
parents c31fe74a6633
children
line wrap: on
line diff
--- a/tests/test-fncache	Thu Jun 04 17:33:30 2009 -0600
+++ b/tests/test-fncache	Thu Jun 04 18:11:11 2009 -0600
@@ -56,7 +56,7 @@
 mkdir tst.d
 echo foo > tst.d/foo
 hg ci -Amfoo
-ls -R .hg
+find .hg | sort
 
 cd ..
 echo % non fncache repo
@@ -65,6 +65,6 @@
 mkdir tst.d
 echo foo > tst.d/Foo
 hg ci -Amfoo
-ls -R .hg
+find .hg | sort
 
 exit 0