changeset 50138:a28cedb26139

test-hardlink: stop explicitly listing `undo.dirstate` The files is on its way out.
author Pierre-Yves David <pierre-yves.david@octobus.net>
date Thu, 16 Feb 2023 17:12:21 +0100
parents a66926099c0f
children 5b9c3ae807c8
files tests/test-hardlinks.t
diffstat 1 files changed, 4 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/tests/test-hardlinks.t	Thu Feb 16 04:04:40 2023 +0100
+++ b/tests/test-hardlinks.t	Thu Feb 16 17:12:21 2023 +0100
@@ -277,9 +277,9 @@
 
 Update back to revision 12 in r4 should break hardlink of file f1 and f3:
 #if hardlink-whitelisted
-  $ nlinksdir r4/.hg/undo.backup.dirstate r4/.hg/undo.dirstate
+  $ nlinksdir r4/.hg/undo.backup.dirstate r4/.hg/dirstate
+  2 r4/.hg/dirstate
   4 r4/.hg/undo.backup.dirstate
-  4 r4/.hg/undo.dirstate
 #endif
 
 
@@ -335,9 +335,9 @@
   2 r4/f3 (no-execbit !)
 
 #if hardlink-whitelisted
-  $ nlinksdir r4/.hg/undo.backup.dirstate r4/.hg/undo.dirstate
+  $ nlinksdir r4/.hg/undo.backup.dirstate r4/.hg/dirstate
+  1 r4/.hg/dirstate
   4 r4/.hg/undo.backup.dirstate
-  4 r4/.hg/undo.dirstate
 #endif
 
 Test hardlinking outside hg: