view tests/test-issue1438 @ 11907:863567a1364f

tests: use regular expressions instead of helpers
author Nicolas Dumazet <nicdumz.commits@gmail.com>
date Mon, 16 Aug 2010 10:58:03 +0900
parents 2c5b2abfb8be
children
line wrap: on
line source

#!/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