# HG changeset patch # User Denis Laxalde # Date 2019-10-17 19:37:21 # Node ID 726bd0b612a2f2822879921d0302963c27fc2823 # Parent 2c70dd03b74395fbec276a2e2d1d3b8347268a5d tests: avoid chmod on windows in hgrc tests Follow up on changeset d201a637c971 introducing this test, which fails on Windows. diff --git a/tests/test-hgrc.t b/tests/test-hgrc.t --- a/tests/test-hgrc.t +++ b/tests/test-hgrc.t @@ -56,10 +56,12 @@ Check %include $ 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