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,15 @@ $ echo '%include $TESTTMP/included' >> $HGRC $ hg showconfig section section.option=value +#if unix-permissions $ chmod u-r $TESTTMP/included $ hg showconfig section hg: parse error at $TESTTMP/hgrc:2: cannot include $TESTTMP/included (Permission denied) [255] +#else + $ hg showconfig section + section.option=value +#endif issue1829: wrong indentation