test: minor cleanup to test-server-view.t
authorPierre-Yves David <pierre-yves.david@octobus.net>
Sat, 06 Apr 2019 17:48:11 +0200
changeset 42106 bcf59ddc6173
parent 42105 e0357a46c39d
child 42107 8890fce7c13d
test: minor cleanup to test-server-view.t While looking into adding error output in this test, I did some cleanup.
tests/test-server-view.t
--- a/tests/test-server-view.t	Sat Apr 06 10:44:22 2019 +0200
+++ b/tests/test-server-view.t	Sat Apr 06 17:48:11 2019 +0200
@@ -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