##// END OF EJS Templates
tests: write hgrc of more than two lines by using shell heredoc...
tests: write hgrc of more than two lines by using shell heredoc Here document should be readable than repeating echo commands.

File last commit:

r23172:e955549c default
r23172:e955549c default
Show More
test-bad-extension.t
17 lines | 453 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
Yuya Nishihara
tests: write hgrc of more than two lines by using shell heredoc...
r23172 $ cat <<EOF >> $HGRCPATH
> [extensions]
> gpg =
> hgext.gpg =
> badext = $abspath
> badext2 =
> EOF
Martin Geisler
tests: unify test-bad-extension
r11858
$ hg -q help help
Mads Kiilerich
tests: remove redundant globs...
r12640 *** failed to import extension badext from $TESTTMP/badext.py: bit bucket overflow
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
help: add -c/--command flag to only show command help (issue2799)
r14286 hg help [-ec] [TOPIC]
Martin Geisler
tests: unify test-bad-extension
r11858
show help for a given topic or a help overview