##// END OF EJS Templates
tests: replace test tmp directory with $TESTTMP in test output...
tests: replace test tmp directory with $TESTTMP in test output This reduces the number of patterns that must be adjusted when writing tests.

File last commit:

r12376:97ffc68f default
r12639:236058a6 default
Show More
test-bad-extension.t
15 lines | 515 B | text/troff | Tads3Lexer
/ tests / test-bad-extension.t
$ 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
\*\*\* failed to import extension badext from */badext.py: bit bucket overflow (glob)
*** failed to import extension badext2: No module named badext2
hg help [TOPIC]
show help for a given topic or a help overview