view tests/test-symlink-root @ 10720:fbcccf9ec58f

check-code: add a return value to checkfile function The checkfile function returns True if the file is correct, False otherwise.
author Pierre-Yves David <pierre-yves.david@logilab.fr>
date Wed, 17 Mar 2010 10:51:26 +0100
parents 25d753efd48e
children
line wrap: on
line source

#!/bin/sh

"$TESTDIR/hghave" symlink || exit 80

hg init a
ln -s a link
cd a
echo foo > foo
hg status
hg status ../link