Mercurial > public > mercurial-scm > hg
diff tests/test-notify @ 4517:5371a213b0f4
ui: make readsections() abort when configuration cannot be read.
author | Patrick Mezard <pmezard@gmail.com> |
---|---|
date | Sun, 03 Jun 2007 22:11:25 +0200 |
parents | afa1f57ae484 |
children | 25e74cd3f023 |
line wrap: on
line diff
--- a/tests/test-notify Wed Jun 06 20:22:52 2007 +0200 +++ b/tests/test-notify Sun Jun 03 22:11:25 2007 +0200 @@ -48,6 +48,12 @@ baseurl = http://test/ EOF +echo % fail for config file is missing +hg --cwd b rollback +hg --cwd b pull ../a 2>&1 | grep 'unable to open.*\.notify\.conf' > /dev/null && echo pull failed + +touch "$HGTMP/.notify.conf" + echo % pull hg --cwd b rollback hg --traceback --cwd b pull ../a 2>&1 | sed -e 's/\(Message-Id:\).*/\1/' \