Mercurial > hg
changeset 51950:93a533fa04ec
tests: stabilize `test-sparse.t` on Windows
One of the reserved characters for path values is '*', so it can't be used.
Fortunately, missing this seems to not get in the way of any other tests, and it
is removed shortly after with `rm -r foo*bar`, and the extant 'foo-bar' matches
the pattern.
author | Matt Harbison <matt_harbison@yahoo.com> |
---|---|
date | Fri, 04 Oct 2024 01:23:31 -0400 |
parents | a8e1ff9ac257 |
children | 737423ae03c2 |
files | tests/test-sparse.t |
diffstat | 1 files changed, 2 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/tests/test-sparse.t Thu Oct 03 21:08:10 2024 -0400 +++ b/tests/test-sparse.t Fri Oct 04 01:23:31 2024 -0400 @@ -34,7 +34,9 @@ $ mk 'foo' bar $ mk 'foo-bar' x $ mk 'unanchoredfoo-bar' x +#if no-windows $ mk 'foo*bar' x +#endif $ mk 'dir/foo-bar' x $ hg status --config rhg.on-unsupported=abort ? dir/foo-bar/x