changeset 40674:25b7c4cb5de1 stable

tests: stabilize the recent checkexec changes on Windows This goes with bd0874977a5e.
author Matt Harbison <matt_harbison@yahoo.com>
date Tue, 20 Nov 2018 18:47:19 -0500
parents bd0874977a5e
children 1a6bb5a85e30 94b0d0f996e1
files tests/test-fncache.t tests/test-share.t
diffstat 2 files changed, 14 insertions(+), 13 deletions(-) [+]
line wrap: on
line diff
--- a/tests/test-fncache.t	Thu Nov 15 03:09:23 2018 +0100
+++ b/tests/test-fncache.t	Tue Nov 20 18:47:19 2018 -0500
@@ -88,9 +88,9 @@
   .hg/00manifest.i
   .hg/cache
   .hg/cache/branch2-served
-  .hg/cache/checkisexec
-  .hg/cache/checklink
-  .hg/cache/checklink-target
+  .hg/cache/checkisexec (execbit !)
+  .hg/cache/checklink (symlink !)
+  .hg/cache/checklink-target (symlink !)
   .hg/cache/manifestfulltextcache (reporevlogstore !)
   .hg/cache/rbc-names-v1
   .hg/cache/rbc-revs-v1
@@ -125,9 +125,9 @@
   .hg/00changelog.i
   .hg/cache
   .hg/cache/branch2-served
-  .hg/cache/checkisexec
-  .hg/cache/checklink
-  .hg/cache/checklink-target
+  .hg/cache/checkisexec (execbit !)
+  .hg/cache/checklink (symlink !)
+  .hg/cache/checklink-target (symlink !)
   .hg/cache/manifestfulltextcache (reporevlogstore !)
   .hg/cache/rbc-names-v1
   .hg/cache/rbc-revs-v1
--- a/tests/test-share.t	Thu Nov 15 03:09:23 2018 +0100
+++ b/tests/test-share.t	Tue Nov 20 18:47:19 2018 -0500
@@ -28,15 +28,16 @@
   default                        0:d3873e73d99e
   $ hg tags
   tip                                0:d3873e73d99e
-  $ ls -1 .hg/cache
-  checkisexec
-  checklink
-  checklink-target
+  $ ls -1 .hg/cache || true
+  ls: .hg/cache: $ENOENT$ (no-execbit no-symlink !)
+  checkisexec (execbit !)
+  checklink (symlink !)
+  checklink-target (symlink !)
   $ ls -1 ../repo1/.hg/cache
   branch2-served
-  checkisexec
-  checklink
-  checklink-target
+  checkisexec (execbit !)
+  checklink (symlink !)
+  checklink-target (symlink !)
   manifestfulltextcache (reporevlogstore !)
   rbc-names-v1
   rbc-revs-v1