tests: stabilize `test-sparse.t` on Windows
authorMatt Harbison <matt_harbison@yahoo.com>
Fri, 04 Oct 2024 01:23:31 -0400
changeset 51950 93a533fa04ec
parent 51949 a8e1ff9ac257
child 51951 737423ae03c2
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.
tests/test-sparse.t
--- 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