view tests/test-bad-extension @ 4634:73bf2b586f3f

Use printenv.py for pre/post-command-hooks (fixes tests on Solaris, too)
author Thomas Arendsen Hein <thomas@intevation.de>
date Tue, 19 Jun 2007 08:17:55 +0200
parents efe6f92c0847
children f8a86ea7521b
line wrap: on
line source

#!/bin/sh

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

hg -q help help