comparison tests/test-hgrc.t @ 14489:3a27faf9a999

tests: update for handling of missing hgrc includes
author Matt Mackall <mpm@selenic.com>
date Tue, 31 May 2011 16:24:47 -0500
parents be0daa0eeb3e
children a086b91ce7fb
comparison
equal deleted inserted replaced
14488:278a4e0fdfed 14489:3a27faf9a999
44 44
45 $ FAKEPATH=/path/to/nowhere 45 $ FAKEPATH=/path/to/nowhere
46 $ export FAKEPATH 46 $ export FAKEPATH
47 $ echo '%include $FAKEPATH/no-such-file' > $HGRCPATH 47 $ echo '%include $FAKEPATH/no-such-file' > $HGRCPATH
48 $ hg version 48 $ hg version
49 hg: parse error at $TESTTMP/hgrc:1: cannot include /path/to/nowhere/no-such-file (No such file or directory) 49 Mercurial Distributed SCM (version 1.8.2+121-52aebe8983a4+20110423)
50 [255] 50 (see http://mercurial.selenic.com for more information)
51
52 Copyright (C) 2005-2011 Matt Mackall and others
53 This is free software; see the source for copying conditions. There is NO
54 warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
51 $ unset FAKEPATH 55 $ unset FAKEPATH
52 56
53 username expansion 57 username expansion
54 58
55 $ olduser=$HGUSER 59 $ olduser=$HGUSER