# HG changeset patch # User Joerg Sonnenberger # Date 1586541216 -7200 # Node ID 28aacddf3af0b4d3255fc3f6694926626e128979 # Parent e5e5ee2b60e437ca9d8c7bd799daf1daec84f0e1 tests: skip non-readable check for root Trying to check for errors on non-readable hgrc requires UNIX permissions, but still won't work for root. So adjust the check. Differential Revision: https://phab.mercurial-scm.org/D8396 diff -r e5e5ee2b60e4 -r 28aacddf3af0 tests/test-hgrc.t --- a/tests/test-hgrc.t Fri Apr 10 19:52:33 2020 +0200 +++ b/tests/test-hgrc.t Fri Apr 10 19:53:36 2020 +0200 @@ -56,7 +56,7 @@ $ echo '%include $TESTTMP/included' >> $HGRC $ hg showconfig section section.option=value -#if no-windows +#if unix-permissions no-root $ chmod u-r $TESTTMP/included $ hg showconfig section hg: parse error at $TESTTMP/hgrc:2: cannot include $TESTTMP/included (Permission denied)