changeset 16902:7f1cec2f63ab

test-rename.t: enable for Windows
author Adrian Buehlmann <adrian@cadifra.com>
date Sun, 10 Jun 2012 17:10:53 +0200
parents 5b89700cce30
children a1a57d3fe0eb
files tests/test-rename.t
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/tests/test-rename.t	Sun Jun 10 14:41:14 2012 +0200
+++ b/tests/test-rename.t	Sun Jun 10 17:10:53 2012 +0200
@@ -1,5 +1,3 @@
-  $ "$TESTDIR/hghave" symlink || exit 80
-
   $ hg init
   $ mkdir d1 d1/d11 d2
   $ echo d1/a > d1/a
@@ -390,6 +388,7 @@
 
 attempt to overwrite an existing broken symlink
 
+#if symlink
   $ ln -s ba d1/ca
   $ hg rename --traceback d1/ba d1/ca
   d1/ca: not overwriting - file exists
@@ -410,6 +409,7 @@
   $ hg update -C
   1 files updated, 0 files merged, 0 files removed, 0 files unresolved
   $ rm d1/ca
+#endif
 
 do not copy more than one source file to the same destination file