tests/test-hgrc.t
changeset 44723 28aacddf3af0
parent 44246 eecc005229ff
child 45777 0883413e09bc
equal deleted inserted replaced
44722:e5e5ee2b60e4 44723:28aacddf3af0
    54   $ echo '[section]' > $TESTTMP/included
    54   $ echo '[section]' > $TESTTMP/included
    55   $ echo 'option = value' >> $TESTTMP/included
    55   $ echo 'option = value' >> $TESTTMP/included
    56   $ echo '%include $TESTTMP/included' >> $HGRC
    56   $ echo '%include $TESTTMP/included' >> $HGRC
    57   $ hg showconfig section
    57   $ hg showconfig section
    58   section.option=value
    58   section.option=value
    59 #if no-windows
    59 #if unix-permissions no-root
    60   $ chmod u-r $TESTTMP/included
    60   $ chmod u-r $TESTTMP/included
    61   $ hg showconfig section
    61   $ hg showconfig section
    62   hg: parse error at $TESTTMP/hgrc:2: cannot include $TESTTMP/included (Permission denied)
    62   hg: parse error at $TESTTMP/hgrc:2: cannot include $TESTTMP/included (Permission denied)
    63   [255]
    63   [255]
    64 #endif
    64 #endif