view tests/test-issue1438 @ 8445:0a06ae261392

tests: new helper for tests with binary output
author Martin Geisler <mg@lazybytes.net>
date Sun, 17 May 2009 01:10:35 +0200
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