view tests/test-bad-extension @ 4728:7bb5bcb089e3

Added test for earlygetopt fixes (36d23de02da1 and 79cc512a34ed)
author Thomas Arendsen Hein <thomas@intevation.de>
date Tue, 26 Jun 2007 18:39:28 +0200
parents efe6f92c0847
children
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