changeset 4139:efe6f92c0847

test-bad-extension: avoid printing the file name This should make it simpler on windows
author Alexis S. L. Carvalho <alexis@cecm.usp.br>
date Sun, 04 Mar 2007 14:09:29 -0300
parents 85237110c371
children 193e0f8d9a47
files tests/test-bad-extension tests/test-bad-extension.out
diffstat 2 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/tests/test-bad-extension	Sun Mar 04 14:04:42 2007 -0300
+++ b/tests/test-bad-extension	Sun Mar 04 14:09:29 2007 -0300
@@ -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	Sun Mar 04 14:04:42 2007 -0300
+++ b/tests/test-bad-extension.out	Sun Mar 04 14:09:29 2007 -0300
@@ -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]