##// END OF EJS Templates
test-bad-extension: reduce dependencies on other things...
timeless@mozdev.org -
r26239:f3995366 default
parent child Browse files
Show More
@@ -9,31 +9,26 b''
9 > badext2 =
9 > badext2 =
10 > EOF
10 > EOF
11
11
12 $ hg -q help help
12 $ hg -q help help 2>&1 |grep extension
13 *** failed to import extension badext from $TESTTMP/badext.py: bit bucket overflow
13 *** failed to import extension badext from $TESTTMP/badext.py: bit bucket overflow
14 *** failed to import extension badext2: No module named badext2
14 *** failed to import extension badext2: No module named badext2
15 hg help [-ec] [TOPIC]
16
17 show help for a given topic or a help overview
18
15
19 show traceback
16 show traceback
20
17
21 $ hg -q help help --traceback 2>&1 | grep -v '^ '
18 $ hg -q help help --traceback 2>&1 | egrep ' extension|^Exception|Traceback|ImportError'
22 *** failed to import extension badext from $TESTTMP/badext.py: bit bucket overflow
19 *** failed to import extension badext from $TESTTMP/badext.py: bit bucket overflow
23 Traceback (most recent call last):
20 Traceback (most recent call last):
24 Exception: bit bucket overflow
21 Exception: bit bucket overflow
25 *** failed to import extension badext2: No module named badext2
22 *** failed to import extension badext2: No module named badext2
26 Traceback (most recent call last):
23 Traceback (most recent call last):
27 ImportError: No module named badext2
24 ImportError: No module named badext2
28 hg help [-ec] [TOPIC]
29
30 show help for a given topic or a help overview
31
25
32 show traceback for ImportError of hgext.name if debug is set
26 show traceback for ImportError of hgext.name if debug is set
33 (note that --debug option isn't applied yet when loading extensions)
27 (note that --debug option isn't applied yet when loading extensions)
34
28
35 $ hg help help --traceback --config ui.debug=True 2>&1 \
29 $ (hg -q help help --traceback --config ui.debug=True 2>&1) \
36 > | grep -v '^ ' | head -n10
30 > | grep -v '^ ' \
31 > | egrep 'extension..[^p]|^Exception|Traceback|ImportError|not import'
37 *** failed to import extension badext from $TESTTMP/badext.py: bit bucket overflow
32 *** failed to import extension badext from $TESTTMP/badext.py: bit bucket overflow
38 Traceback (most recent call last):
33 Traceback (most recent call last):
39 Exception: bit bucket overflow
34 Exception: bit bucket overflow
@@ -43,4 +38,3 b' show traceback for ImportError of hgext.'
43 *** failed to import extension badext2: No module named badext2
38 *** failed to import extension badext2: No module named badext2
44 Traceback (most recent call last):
39 Traceback (most recent call last):
45 ImportError: No module named badext2
40 ImportError: No module named badext2
46 hg help [-ec] [TOPIC]
General Comments 0
You need to be logged in to leave comments. Login now