view tests/test-hgrc @ 2023:3bdd3bf17cfa

Use [ x = y ] instead of [ x == y ] in shell scripts.
author Thomas Arendsen Hein <thomas@intevation.de>
date Thu, 30 Mar 2006 18:43:46 +0200
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:"