# HG changeset patch # User Nicolas Dumazet # Date 1281621732 -32400 # Node ID 31c3dddce8cbcc3851bb8cffebde369967ce326f # Parent 8c01fc10cb67bcfe14b89a3db37e1de188edcf43 tests: unify test-symlink-root diff -r 8c01fc10cb67 -r 31c3dddce8cb tests/test-symlink-root --- a/tests/test-symlink-root Thu Aug 12 23:00:36 2010 +0900 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,10 +0,0 @@ -#!/bin/sh - -"$TESTDIR/hghave" symlink || exit 80 - -hg init a -ln -s a link -cd a -echo foo > foo -hg status -hg status ../link diff -r 8c01fc10cb67 -r 31c3dddce8cb tests/test-symlink-root.out --- a/tests/test-symlink-root.out Thu Aug 12 23:00:36 2010 +0900 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,2 +0,0 @@ -? foo -? foo diff -r 8c01fc10cb67 -r 31c3dddce8cb tests/test-symlink-root.t --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tests/test-symlink-root.t Thu Aug 12 23:02:12 2010 +0900 @@ -0,0 +1,10 @@ + $ "$TESTDIR/hghave" symlink || exit 80 + + $ hg init a + $ ln -s a link + $ cd a + $ echo foo > foo + $ hg status + ? foo + $ hg status ../link + ? foo