tests: update `rm` invocation for new location of checklink
authorAugie Fackler <augie@google.com>
Wed, 05 Dec 2018 12:25:41 -0500
changeset 53600 a444b7eb4633dacedfa1412009fd5d4093f49628
parent 53599 9cec7a36bab8578d10335fe6df63704cf0722a0e
child 53601 5887973febc728e0c420b0fe65f8f5c36ff50755
push id1079
push usergszorc@mozilla.com
push dateMon, 10 Dec 2018 19:44:59 +0000
tests: update `rm` invocation for new location of checklink This should fix the test on FreeBSD. Differential Revision: https://phab.mercurial-scm.org/D5387
tests/test-hardlinks.t
--- a/tests/test-hardlinks.t
+++ b/tests/test-hardlinks.t
@@ -225,17 +225,17 @@ Create a file which exec permissions we 
 Create hardlinked copy r4 of r3 (on Linux, we would call 'cp -al'):
 
   $ linkcp r3 r4
 
 'checklink' is produced by hardlinking a symlink, which is undefined whether
 the symlink should be followed or not. It does behave differently on Linux and
 BSD. Just remove it so the test pass on both platforms.
 
-  $ rm -f r4/.hg/cache/checklink
+  $ rm -f r4/.hg/wcache/checklink
 
 r4 has hardlinks in the working dir (not just inside .hg):
 
   $ nlinksdir r4
   2 r4/.hg/00changelog.i
   2 r4/.hg/branch
   2 r4/.hg/cache/branch2-base
   2 r4/.hg/cache/branch2-served