tests/test-notify
changeset 4517 5371a213b0f4
parent 4479 afa1f57ae484
child 6359 25e74cd3f023
--- 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/' \