tests: conditionalize a few Windows specific error messages
authorMatt Harbison <matt_harbison@yahoo.com>
Mon, 07 Dec 2020 20:38:00 -0500
changeset 46077 b2a743c3abbb
parent 46076 69429972ff1f
child 46078 31ecf715efe2
tests: conditionalize a few Windows specific error messages Differential Revision: https://phab.mercurial-scm.org/D9540
tests/test-template-map.t
--- a/tests/test-template-map.t	Mon Dec 07 20:32:05 2020 -0500
+++ b/tests/test-template-map.t	Mon Dec 07 20:38:00 2020 -0500
@@ -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: