##// END OF EJS Templates
tests: add glob matching for unified tests...
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.

File last commit:

r12376:97ffc68f default
r12376:97ffc68f default
Show More
test-bad-extension.t
15 lines | 515 B | text/troff | Tads3Lexer
/ tests / test-bad-extension.t
Martin Geisler
tests: unify test-bad-extension
r11858 $ echo 'raise Exception("bit bucket overflow")' > badext.py
$ abspath=`pwd`/badext.py
$ echo '[extensions]' >> $HGRCPATH
$ echo "gpg =" >> $HGRCPATH
$ echo "hgext.gpg =" >> $HGRCPATH
$ echo "badext = $abspath" >> $HGRCPATH
$ echo "badext2 =" >> $HGRCPATH
$ hg -q help help
Brodie Rao
tests: add glob matching for unified tests...
r12376 \*\*\* failed to import extension badext from */badext.py: bit bucket overflow (glob)
Brodie Rao
tests: require regexes in unified tests to be marked with " (re)"...
r12375 *** failed to import extension badext2: No module named badext2
Martin Geisler
tests: unify test-bad-extension
r11858 hg help [TOPIC]
show help for a given topic or a help overview