view tests/test-hgrc @ 1786:ffb584a182d1

Don't use mktemp in tests, we're already in a secure temp dir.
author Thomas Arendsen Hein <thomas@intevation.de>
date Wed, 22 Feb 2006 07:51:32 +0100
parents 7d66ce9895fa
children 7a7d4937272b
line wrap: on
line source

#!/bin/sh

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