Mercurial > evolve
changeset 1236:10ad8e575315
tests: make tests work on Mac OS
wc -m adds spacing before the results, we trim them to make the test pass on
Mac OS.
author | Laurent Charignon <lcharignon@fb.com> |
---|---|
date | Thu, 02 Apr 2015 15:44:11 -0700 |
parents | ffa32ca659f1 |
children | 1439bc8c6785 |
files | tests/test-inhibit.t |
diffstat | 1 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/tests/test-inhibit.t Wed Apr 01 16:47:22 2015 -0700 +++ b/tests/test-inhibit.t Thu Apr 02 15:44:11 2015 -0700 @@ -132,12 +132,12 @@ check public revision got cleared (when adding the second inhibitor, the first one is removed because it is public) - $ wc -m .hg/store/obsinhibit + $ wc -m .hg/store/obsinhibit | sed -e 's/^[ \t]*//' 20 .hg/store/obsinhibit $ hg prune 7 1 changesets pruned $ hg debugobsinhibit --hidden 18214586bf78 - $ wc -m .hg/store/obsinhibit + $ wc -m .hg/store/obsinhibit | sed -e 's/^[ \t]*//' 20 .hg/store/obsinhibit $ hg log -G @ 9:55c73a90e4b4 add cJ @@ -158,7 +158,7 @@ 0 files updated, 0 files merged, 1 files removed, 0 files unresolved working directory now at cf5c4f4554ce $ hg debugobsinhibit --hidden 55c73a90e4b4 - $ wc -m .hg/store/obsinhibit + $ wc -m .hg/store/obsinhibit | sed -e 's/^[ \t]*//' 20 .hg/store/obsinhibit $ hg log -G o 9:55c73a90e4b4 add cJ