test-bad-extension
13 lines
| 377 B
| text/plain
|
TextLexer
/ tests / test-bad-extension
Alexis S. L. Carvalho
|
r3014 | #!/bin/sh | ||
Alexis S. L. Carvalho
|
r4139 | echo 'raise Exception("bit bucket overflow")' > badext.py | ||
Alexis S. L. Carvalho
|
r3014 | abspath=`pwd`/badext.py | ||
echo '[extensions]' >> $HGRCPATH | ||||
Thomas Arendsen Hein
|
r3990 | echo "gpg =" >> $HGRCPATH | ||
echo "hgext.gpg =" >> $HGRCPATH | ||||
Alexis S. L. Carvalho
|
r3014 | echo "badext = $abspath" >> $HGRCPATH | ||
Jesse Glick
|
r6204 | echo "badext2 =" >> $HGRCPATH | ||
Alexis S. L. Carvalho
|
r3014 | |||
Jesse Glick
|
r6204 | hg -q help help 2>&1 | python -c \ | ||
"import sys; sys.stdout.write(sys.stdin.read().replace('$abspath', '.../badext.py'))" | ||||