view tests/test-bad-extension @ 6202:0ab0da2215d7

test-status: Make assert function definition sh compatible.
author Thomas Arendsen Hein <thomas@intevation.de>
date Sun, 02 Mar 2008 20:54:00 +0100
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