view tests/test-bad-extension.t @ 12629:c623752b1af5

test-keyword: remove remaining sed calls
author Christian Ebert <blacktrash@gmx.net>
date Fri, 08 Oct 2010 18:39:46 +0100
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