Mercurial > hg
comparison tests/test-install.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 | 85d74f6babf6 |
comparison
equal
deleted
inserted
replaced
12375:02990e22150b | 12376:97ffc68f71d3 |
---|---|
1 hg debuginstall | 1 hg debuginstall |
2 $ hg debuginstall | 2 $ hg debuginstall |
3 Checking encoding (ascii)... | 3 Checking encoding (ascii)... |
4 Checking installed modules \(.*/mercurial\)\.\.\. (re) | 4 Checking installed modules (*/mercurial)... (glob) |
5 Checking templates... | 5 Checking templates... |
6 Checking patch... | 6 Checking patch... |
7 Checking commit editor... | 7 Checking commit editor... |
8 Checking username... | 8 Checking username... |
9 No problems detected | 9 No problems detected |
10 | 10 |
11 hg debuginstall with no username | 11 hg debuginstall with no username |
12 $ HGUSER= hg debuginstall | 12 $ HGUSER= hg debuginstall |
13 Checking encoding (ascii)... | 13 Checking encoding (ascii)... |
14 Checking installed modules \(.*/mercurial\)\.\.\. (re) | 14 Checking installed modules (*/mercurial)... (glob) |
15 Checking templates... | 15 Checking templates... |
16 Checking patch... | 16 Checking patch... |
17 Checking commit editor... | 17 Checking commit editor... |
18 Checking username... | 18 Checking username... |
19 no username supplied (see "hg help config") | 19 no username supplied (see "hg help config") |