# HG changeset patch # User Pierre-Yves David # Date 1409156889 -7200 # Node ID 82873af0cf10ba623b1ae6e47050f2fff412d6ab # Parent 96b9e0c31cc1129f7e303b9b201c426131bf676a test-simple4server: add error output for http This is useful in case of failure. diff -r 96b9e0c31cc1 -r 82873af0cf10 tests/test-simple4server.t --- a/tests/test-simple4server.t Fri Aug 29 10:44:40 2014 +0200 +++ b/tests/test-simple4server.t Wed Aug 27 18:28:09 2014 +0200 @@ -29,6 +29,7 @@ no changes found updating to branch default 0 files updated, 0 files merged, 0 files removed, 0 files unresolved + $ cat ./errors.log $ echo "[extensions]" >> ./client/.hg/hgrc $ echo "evolve=$(echo $(dirname $TESTDIR))/hgext/evolve.py" >> ./client/.hg/hgrc $ cp -r client other @@ -50,6 +51,7 @@ pulling from http://localhost:$HGPORT/ searching for changes no changes found + $ cat ../errors.log $ hg pull -R ../other pulling from http://localhost:$HGPORT/ requesting all changes @@ -59,11 +61,13 @@ added 2 changesets with 2 changes to 2 files pull obsolescence markers (run 'hg update' to get a working copy) + $ cat ../errors.log $ hg push -R ../other pushing to http://localhost:$HGPORT/ searching for changes no changes found [1] + $ cat ../errors.log Capacity testing =================== @@ -92,11 +96,13 @@ remote: adding file changes remote: added 1 changesets with 1 changes to 1 files (+1 heads) pushing 2 obsolescence markers (171 bytes) + $ cat ../errors.log $ hg push pushing to http://localhost:$HGPORT/ searching for changes no changes found [1] + $ cat ../errors.log Pull ============= @@ -111,10 +117,12 @@ pull obsolescence markers 2 obsolescence markers added (run 'hg heads' to see heads) + $ cat ../errors.log $ hg -R ../other pull pulling from http://localhost:$HGPORT/ searching for changes no changes found + $ cat ../errors.log $ cd ..