changeset 42106:bcf59ddc6173

test: minor cleanup to test-server-view.t While looking into adding error output in this test, I did some cleanup.
author Pierre-Yves David <pierre-yves.david@octobus.net>
date Sat, 06 Apr 2019 17:48:11 +0200
parents e0357a46c39d
children 8890fce7c13d
files tests/test-server-view.t
diffstat 1 files changed, 4 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- 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