tests/test-hgrc
author Benoit Boissinot <benoit.boissinot@ens-lyon.org>
Thu, 27 Oct 2005 13:40:56 -0700
changeset 1473 7d66ce9895fa
child 4659 7a7d4937272b
permissions -rwxr-xr-x
make readconfig take a filename instead of a file pointer as argument catch parse error while reading a config file add a testcase for parse error

#!/bin/sh

mkdir t
cd t
hg init
echo "invalid" > .hg/hgrc
hg status 2>&1 |sed -e "s:/.*\(/t/.*\):...\1:"