Patchwork [2,of,5,"] test: minor cleanup to test-server-view.t

login
register
mail settings
Submitter Pierre-Yves David
Date April 12, 2019, 2:45 p.m.
Message ID <74e8982a8943c78c3326.1555080304@nodosa.octopoid.net>
Download mbox | patch
Permalink /patch/39564/
State Accepted
Headers show

Comments

Pierre-Yves David - April 12, 2019, 2:45 p.m.
# HG changeset patch
# User Pierre-Yves David <pierre-yves.david@octobus.net>
# 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.

Patch

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