Mercurial > hg
comparison tests/test-bad-pull.t @ 12376:97ffc68f71d3
tests: add glob matching for unified tests
This adds a " (glob)" marker that works like a simpler version of
(re): "*" is converted to ".*", and "?" is converted to ".".
Both special characters can be escaped using "\", and the backslash
itself can be escaped as well.
Other glob-style syntax, like "**", "[chars]", or "[!chars]", isn't
supported.
author | Brodie Rao <brodie@bitheap.org> |
---|---|
date | Wed, 22 Sep 2010 16:06:02 -0500 |
parents | 02990e22150b |
children | c5c9ca3719f9 |
comparison
equal
deleted
inserted
replaced
12375:02990e22150b | 12376:97ffc68f71d3 |
---|---|
22 give the server some time to start running | 22 give the server some time to start running |
23 | 23 |
24 $ sleep 1 | 24 $ sleep 1 |
25 | 25 |
26 $ hg clone http://localhost:$HGPORT/foo copy2 2>&1 | 26 $ hg clone http://localhost:$HGPORT/foo copy2 2>&1 |
27 abort: HTTP Error 404: .* (re) | 27 abort: HTTP Error 404: * (glob) |
28 [255] | 28 [255] |
29 | 29 |
30 $ kill $! | 30 $ kill $! |