changeset 32780:5e76a07e9f42

test-hardlinks: stabilize for Windows This broke in c2cb0de25120, which breaks hardlinks when the executable bit is toggled.
author Matt Harbison <matt_harbison@yahoo.com>
date Sat, 10 Jun 2017 00:06:57 -0400
parents 2510823ca0df
children 448fc659a430
files tests/test-hardlinks.t
diffstat 1 files changed, 4 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/tests/test-hardlinks.t	Sun Jun 04 00:16:45 2017 +0200
+++ b/tests/test-hardlinks.t	Sat Jun 10 00:06:57 2017 -0400
@@ -276,7 +276,8 @@
 
 
   $ hg -R r4 up 12
-  2 files updated, 0 files merged, 0 files removed, 0 files unresolved
+  2 files updated, 0 files merged, 0 files removed, 0 files unresolved (execbit !)
+  1 files updated, 0 files merged, 0 files removed, 0 files unresolved (no-execbit !)
 
   $ nlinksdir r4
   2 r4/.hg/00changelog.i
@@ -313,7 +314,8 @@
   2 r4/d1/data1
   2 r4/d1/f2
   1 r4/f1
-  1 r4/f3
+  1 r4/f3 (execbit !)
+  2 r4/f3 (no-execbit !)
 
 #if hardlink-whitelisted
   $ nlinksdir r4/.hg/undo.backup.dirstate r4/.hg/undo.dirstate