tests/test-bad-extension.t
author Matt Harbison <matt_harbison@yahoo.com>
Sun, 18 Jan 2015 16:38:56 -0500
branchstable
changeset 23922 5831bef5387f
parent 23172 e955549cd045
child 25364 de23a552fc23
permissions -rw-r--r--
test-tools: update for platforms without symlink support after 5b20e4c32117 The change was triggered by removing the 'baz' hardlink.

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

  $ cat <<EOF >> $HGRCPATH
  > [extensions]
  > gpg =
  > hgext.gpg =
  > badext = $abspath
  > badext2 =
  > EOF

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