test-bad-extension: avoid printing the file name
This should make it simpler on windows
--- 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]