tests/test-http-bundle1.t
branchstable
changeset 30914 f3807a135e43
parent 30763 a520aefb96f1
child 31009 161ab32b44a1
--- a/tests/test-http-bundle1.t	Fri Feb 10 18:17:20 2017 +0100
+++ b/tests/test-http-bundle1.t	Fri Feb 10 18:20:58 2017 +0100
@@ -333,3 +333,15 @@
 check error log
 
   $ cat error.log
+
+Check error reporting while pulling/cloning
+
+  $ $RUNTESTDIR/killdaemons.py
+  $ hg -R test serve -p $HGPORT -d --pid-file=hg3.pid -E error.log --config extensions.crash=${TESTDIR}/crashgetbundler.py
+  $ cat hg3.pid >> $DAEMON_PIDS
+  $ hg clone http://localhost:$HGPORT/ abort-clone
+  requesting all changes
+  abort: remote error:
+  this is an exercise
+  [255]
+  $ cat error.log