test-bad-extension: avoid printing the file name
authorAlexis S. L. Carvalho <alexis@cecm.usp.br>
Sun, 04 Mar 2007 14:09:29 -0300
changeset 4139 efe6f92c0847
parent 4138 85237110c371
child 4140 193e0f8d9a47
test-bad-extension: avoid printing the file name This should make it simpler on windows
tests/test-bad-extension
tests/test-bad-extension.out
--- a/tests/test-bad-extension
+++ b/tests/test-bad-extension
@@ -1,6 +1,6 @@
 #!/bin/sh
 
-echo 'syntax error' > badext.py
+echo 'raise Exception("bit bucket overflow")' > badext.py
 abspath=`pwd`/badext.py
 
 echo '[extensions]' >> $HGRCPATH
--- a/tests/test-bad-extension.out
+++ b/tests/test-bad-extension.out
@@ -1,4 +1,4 @@
-*** failed to import extension badext: invalid syntax (badext.py, line 1)
+*** failed to import extension badext: bit bucket overflow
 extension 'hgext.gpg' overrides commands: sigs sigcheck sign
 hg help [COMMAND]