tests/test-hgrc
author Alexis S. L. Carvalho <alexis@cecm.usp.br>
Fri, 17 Feb 2006 17:41:18 -0600
changeset 1738 f293ad87f928
parent 1473 7d66ce9895fa
child 4659 7a7d4937272b
permissions -rwxr-xr-x
Don't hard-code /tmp in test-ro-message This makes the test succeed when $TMPDIR is set.

#!/bin/sh

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