tests/test-hgrc.t
branchstable
changeset 44729 26ce8e751503
parent 44723 28aacddf3af0
child 45800 0883413e09bc
equal deleted inserted replaced
44220:539490756a72 44729:26ce8e751503
    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