tests/test-issue1438
author Simon Heimberg <simohe@besonet.ch>
Tue, 19 May 2009 09:36:20 +0200
changeset 8592 cc22b4168879
parent 7783 2c5b2abfb8be
permissions -rwxr-xr-x
runtest: do not start testing when there is no test

#!/bin/sh
"$TESTDIR/hghave" symlink || exit 80

rm -rf a
hg init a
cd a

ln -s foo link
hg add link
hg ci -mbad link
hg rm link
hg ci -mok
hg diff -g -r 0:1 > bad.patch
hg up 0
hg import --no-commit bad.patch
hg st