Mercurial > hg
changeset 2487:041363739ca8
Test case for #294
author | Brendan Cully <brendan@kublai.com> |
---|---|
date | Fri, 23 Jun 2006 08:10:06 +0200 |
parents | 3ea8111ead90 |
children | 2785aeb51be4 01b856927970 |
files | tests/test-locate tests/test-locate.out |
diffstat | 2 files changed, 12 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/tests/test-locate Fri Jun 23 08:09:48 2006 +0200 +++ b/tests/test-locate Fri Jun 23 08:10:06 2006 +0200 @@ -5,6 +5,7 @@ hg init echo 0 > a echo 0 > b +echo 0 > t.h mkdir t echo 0 > t/x hg ci -A -m m -d "1000000 0" @@ -24,3 +25,7 @@ cd t hg locate hg locate -I ../t +# test issue294 +cd .. +rm -rf t +hg locate t
--- a/tests/test-locate.out Fri Jun 23 08:09:48 2006 +0200 +++ b/tests/test-locate.out Fri Jun 23 08:10:06 2006 +0200 @@ -1,21 +1,27 @@ adding a adding b +adding t.h adding t/x a NONEXISTENT: No such file or directory a b +t.h t/x a: No such file or directory NONEXISTENT: No such file or directory b +t.h t/x a -NONEXISTENT: No such file in rev 9449ae447738 +NONEXISTENT: No such file in rev ce18e5bc5cd3 a t/x b +t.h % -I/-X with relative path should work b +t.h t/x t/x +t/x