view tests/test-bad-extension.t @ 12587:e3247ceaca5e

tests: removed test names in tests The name of the test files is replaced with a glob * expression, thereby the tests does not depend on the filename of the file they are in.
author Erik Zielke <ez@aragost.com>
date Thu, 30 Sep 2010 09:49:40 +0200
parents 97ffc68f71d3
children 6cc4b14fb76b
line wrap: on
line source

  $ echo 'raise Exception("bit bucket overflow")' > badext.py
  $ abspath=`pwd`/badext.py

  $ echo '[extensions]' >> $HGRCPATH
  $ echo "gpg =" >> $HGRCPATH
  $ echo "hgext.gpg =" >> $HGRCPATH
  $ echo "badext = $abspath" >> $HGRCPATH
  $ echo "badext2 =" >> $HGRCPATH

  $ hg -q help help
  \*\*\* failed to import extension badext from */badext.py: bit bucket overflow (glob)
  *** failed to import extension badext2: No module named badext2
  hg help [TOPIC]
  
  show help for a given topic or a help overview