test-hardlink: stop explicitly listing `undo.dirstate`
authorPierre-Yves David <pierre-yves.david@octobus.net>
Thu, 16 Feb 2023 17:12:21 +0100
changeset 50083 a28cedb26139
parent 50082 a66926099c0f
child 50084 5b9c3ae807c8
test-hardlink: stop explicitly listing `undo.dirstate` The files is on its way out.
tests/test-hardlinks.t
--- 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: