diff tests/test-clone.t @ 30555:6a672c3b7860

posix: give the cached symlink a real target The NamedTemporaryFile file is cleared up so checklink ends up as a dangling symlink, causing cp -r in tests to complain on both Solaris and OS X. Use a permanent file instead when there is a .hg/cache directory.
author Martijn Pieters <mjpieters@fb.com>
date Wed, 30 Nov 2016 16:39:36 +0000
parents 8836f13e3c5b
children d83ca854fa21
line wrap: on
line diff
--- a/tests/test-clone.t	Tue Nov 29 07:20:03 2016 -0800
+++ b/tests/test-clone.t	Wed Nov 30 16:39:36 2016 +0000
@@ -33,6 +33,7 @@
   branch2-served
   checkisexec
   checklink
+  checklink-target
   checknoexec
   rbc-names-v1
   rbc-revs-v1
@@ -50,6 +51,7 @@
   branch2-served
   checkisexec
   checklink
+  checklink-target
 
   $ cat a
   a