tests/test-http.t
branchstable
changeset 30914 f3807a135e43
parent 30763 a520aefb96f1
child 31009 161ab32b44a1
--- a/tests/test-http.t	Fri Feb 10 18:17:20 2017 +0100
+++ b/tests/test-http.t	Fri Feb 10 18:20:58 2017 +0100
@@ -321,3 +321,15 @@
 check error log
 
   $ cat error.log
+
+check abort 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
+  remote: abort: this is an exercise
+  abort: pull failed on remote
+  [255]
+  $ cat error.log