[Updated] D9540: tests: conditionalize a few Windows specific error messages

mharbison72 (Matt Harbison) phabricator at mercurial-scm.org
Tue Dec 8 08:02:39 UTC 2020


Closed by commit rHGb2a743c3abbb: tests: conditionalize a few Windows specific error messages (authored by mharbison72).
This revision was automatically updated to reflect the committed changes.

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST UPDATE
  https://phab.mercurial-scm.org/D9540?vs=24100&id=24110

CHANGES SINCE LAST ACTION
  https://phab.mercurial-scm.org/D9540/new/

REVISION DETAIL
  https://phab.mercurial-scm.org/D9540

AFFECTED FILES
  tests/test-template-map.t

CHANGE DETAILS

diff --git a/tests/test-template-map.t b/tests/test-template-map.t
--- a/tests/test-template-map.t
+++ b/tests/test-template-map.t
@@ -139,7 +139,8 @@
   $ mkdir somedir
   $ echo "__base__ = somedir" > map-base-dir
   $ hg log -l1 -T./map-base-dir
-  abort: Is a directory: '$TESTTMP/a/somedir'
+  abort: Is a directory: '$TESTTMP/a/somedir' (no-windows !)
+  abort: $TESTTMP/a/somedir: Access is denied (windows !)
   [255]
 
 Test including a built-in template map
@@ -1279,7 +1280,8 @@
 Error if style is a directory:
 
   $ hg log --style somedir
-  abort: Is a directory: 'somedir'
+  abort: Is a directory: 'somedir' (no-windows !)
+  abort: somedir: Access is denied (windows !)
   [255]
 
 Error if style is a directory whose name is a built-in style:



To: mharbison72, #hg-reviewers, pulkit
Cc: mercurial-patches
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mercurial-scm.org/pipermail/mercurial-patches/attachments/20201208/77e8fd5c/attachment-0002.html>


More information about the Mercurial-patches mailing list