From patchwork Fri Apr 12 14:45:04 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [2,of,5,"] test: minor cleanup to test-server-view.t From: Pierre-Yves David X-Patchwork-Id: 39564 Message-Id: <74e8982a8943c78c3326.1555080304@nodosa.octopoid.net> To: mercurial-devel@mercurial-scm.org Date: Fri, 12 Apr 2019 16:45:04 +0200 # HG changeset patch # User Pierre-Yves David # Date 1554565691 -7200 # Sat Apr 06 17:48:11 2019 +0200 # Node ID 74e8982a8943c78c332699aa2a109ba10be0fdc2 # Parent 5577867904fc94dc63c4251641e146e087328508 # EXP-Topic repoview # Available At https://bitbucket.org/octobus/mercurial-devel/ # hg pull https://bitbucket.org/octobus/mercurial-devel/ -r 74e8982a8943 test: minor cleanup to test-server-view.t While looking into adding error output in this test, I did some cleanup. diff --git a/tests/test-server-view.t b/tests/test-server-view.t --- a/tests/test-server-view.t +++ b/tests/test-server-view.t @@ -23,11 +23,10 @@ $ killdaemons.py - $ cd ../test - $ hg --config server.view=immutable serve -p $HGPORT -d --pid-file=hg.pid -E errors.log + $ cd .. + $ hg -R test --config server.view=immutable serve -p $HGPORT -d --pid-file=hg.pid -E errors.log $ cat hg.pid >> $DAEMON_PIDS - $ cd ../test2 - $ hg incoming http://foo:xyzzy@localhost:$HGPORT/ + $ hg -R test2 incoming http://foo:xyzzy@localhost:$HGPORT/ comparing with http://foo:***@localhost:$HGPORT/ changeset: 0:1ea73414a91b tag: tip @@ -35,4 +34,5 @@ date: Thu Jan 01 00:00:00 1970 +0000 summary: r0 + $ cat errors.log $ killdaemons.py