tests: conditionalize a few Windows specific error messages
Differential Revision: https://phab.mercurial-scm.org/D9540
--- 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: