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

Pierre-Yves David pierre-yves.david at ens-lyon.org
Fri Apr 12 10:45:04 EDT 2019


# HG changeset patch
# User Pierre-Yves David <pierre-yves.david at 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.

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


More information about the Mercurial-devel mailing list