Mercurial > hg
comparison 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 |
comparison
equal
deleted
inserted
replaced
8720:da1b93583855 | 8721:2816239e0020 |
---|---|
54 hg --config format.usestore=False init foo | 54 hg --config format.usestore=False init foo |
55 cd foo | 55 cd foo |
56 mkdir tst.d | 56 mkdir tst.d |
57 echo foo > tst.d/foo | 57 echo foo > tst.d/foo |
58 hg ci -Amfoo | 58 hg ci -Amfoo |
59 ls -R .hg | 59 find .hg | sort |
60 | 60 |
61 cd .. | 61 cd .. |
62 echo % non fncache repo | 62 echo % non fncache repo |
63 hg --config format.usefncache=False init bar | 63 hg --config format.usefncache=False init bar |
64 cd bar | 64 cd bar |
65 mkdir tst.d | 65 mkdir tst.d |
66 echo foo > tst.d/Foo | 66 echo foo > tst.d/Foo |
67 hg ci -Amfoo | 67 hg ci -Amfoo |
68 ls -R .hg | 68 find .hg | sort |
69 | 69 |
70 exit 0 | 70 exit 0 |