Mercurial > hg
comparison tests/test-bad-extension.t @ 11858:934c7e91c126
tests: unify test-bad-extension
author | Martin Geisler <mg@lazybytes.net> |
---|---|
date | Sat, 14 Aug 2010 02:35:44 +0200 |
parents | tests/test-bad-extension@f8a86ea7521b |
children | 02990e22150b |
comparison
equal
deleted
inserted
replaced
11857:9661514f85ae | 11858:934c7e91c126 |
---|---|
1 $ echo 'raise Exception("bit bucket overflow")' > badext.py | |
2 $ abspath=`pwd`/badext.py | |
3 | |
4 $ echo '[extensions]' >> $HGRCPATH | |
5 $ echo "gpg =" >> $HGRCPATH | |
6 $ echo "hgext.gpg =" >> $HGRCPATH | |
7 $ echo "badext = $abspath" >> $HGRCPATH | |
8 $ echo "badext2 =" >> $HGRCPATH | |
9 | |
10 $ hg -q help help | |
11 \*\*\* failed to import extension badext from .*/badext.py: bit bucket overflow | |
12 \*\*\* failed to import extension badext2: No module named badext2 | |
13 hg help [TOPIC] | |
14 | |
15 show help for a given topic or a help overview |