--- a/tests/test-topic-tutorial.t Thu Jul 27 17:16:02 2017 +0200
+++ b/tests/test-topic-tutorial.t Thu Jul 27 17:22:44 2017 +0200
@@ -2,18 +2,20 @@
Topic Tutorial
==============
-.. This test file is also supposed to be able to compile as a rest file.
+This Mercurial configuration example is used for testing.
-
-.. Some Setup::
+.. Various setup
$ . "$TESTDIR/testlib/topic_setup.sh"
$ hg init server
+
$ cd server
+
$ cat >> .hg/hgrc << EOF
> [ui]
> user= Shopping Master
> EOF
+
$ cat >> shopping << EOF
> Spam
> Whizzo butter
@@ -23,8 +25,10 @@
> Blancmange
> Salmon mousse
> EOF
+
$ hg commit -A -m "Shopping list"
adding shopping
+
$ cd ..
$ hg clone server client
updating to branch default
--- a/tests/test-tutorial.t Thu Jul 27 17:16:02 2017 +0200
+++ b/tests/test-tutorial.t Thu Jul 27 17:22:44 2017 +0200
@@ -3,6 +3,7 @@
-------------
This Mercurial configuration example is used for testing.
+
.. Various setup
$ cat >> $HGRCPATH << EOF