changeset 46073:b2a743c3abbb

tests: conditionalize a few Windows specific error messages Differential Revision: https://phab.mercurial-scm.org/D9540
author Matt Harbison <matt_harbison@yahoo.com>
date Mon, 07 Dec 2020 20:38:00 -0500
parents 69429972ff1f
children 31ecf715efe2
files tests/test-template-map.t
diffstat 1 files changed, 4 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- 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: