diff tests/test-hgrc.t @ 43279:726bd0b612a2

tests: avoid chmod on windows in hgrc tests Follow up on changeset d201a637c971 introducing this test, which fails on Windows.
author Denis Laxalde <denis@laxalde.org>
date Thu, 17 Oct 2019 21:37:21 +0200
parents d201a637c971
children 6b6872822b32
line wrap: on
line diff
--- a/tests/test-hgrc.t	Thu Oct 17 13:34:21 2019 +0200
+++ b/tests/test-hgrc.t	Thu Oct 17 21:37:21 2019 +0200
@@ -56,10 +56,12 @@
   $ echo '%include $TESTTMP/included' >> $HGRC
   $ hg showconfig section
   section.option=value
+#if no-windows
   $ chmod u-r $TESTTMP/included
   $ hg showconfig section
   hg: parse error at $TESTTMP/hgrc:2: cannot include $TESTTMP/included (Permission denied)
   [255]
+#endif
 
 issue1829: wrong indentation