aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06/perl-inst.xml
diff options
context:
space:
mode:
Diffstat (limited to 'chapter06/perl-inst.xml')
-rw-r--r--chapter06/perl-inst.xml9
1 files changed, 7 insertions, 2 deletions
diff --git a/chapter06/perl-inst.xml b/chapter06/perl-inst.xml
index 26d418747..3b8788879 100644
--- a/chapter06/perl-inst.xml
+++ b/chapter06/perl-inst.xml
@@ -18,8 +18,13 @@ above.</para>
<para><screen><userinput>make</userinput></screen></para>
<para>This package has a test suite available which can perform a number of
-checks to ensure it built correctly. Should you choose to run it, the
-following command will do so:</para>
+checks to ensure it built correctly. Should you choose to run it, you first
+have to create a basic <filename>/etc/hosts</filename> file, needed by a
+couple of tests to resolve the name <emphasis>localhost</emphasis>:</para>
+
+<para><screen><userinput>echo "127.0.0.1 localhost $(hostname)" > /etc/hosts</userinput></screen></para>
+
+<para>Now run the tests, if you wish:</para>
<para><screen><userinput>make test</userinput></screen></para>