/usr/share/doc/lire/dev-manual/ch18s02.html is in lire-devel-doc 2:2.1.1-2.1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 | <html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>Test-installations and test-runs</title><meta name="generator" content="DocBook XSL Stylesheets V1.75.2"><link rel="home" href="index.html" title="Lire Developer's Manual"><link rel="up" href="ch18.html" title="Chapter 18. Testing and debugging"><link rel="prev" href="ch18.html" title="Chapter 18. Testing and debugging"><link rel="next" href="ch18s03.html" title="Using the Perl debugger on Lire code"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">Test-installations and test-runs</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="ch18.html">Prev</a> </td><th width="60%" align="center">Chapter 18. Testing and debugging</th><td width="20%" align="right"> <a accesskey="n" href="ch18s03.html">Next</a></td></tr></table><hr></div><div class="section" title="Test-installations and test-runs"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id418284"></a>Test-installations and test-runs</h2></div></div></div><p>
We give some hints on various ways to debug the <span class="application">Lire</span> code.
One can make a test-install by extracting a tarball and running e.g.
</p><pre class="programlisting">
<code class="prompt">$ </code> ./configure --prefix=$HOME/local && make && make install
<code class="prompt">$ </code>PATH=$HOME/local/bin:$PATH; export PATH
<code class="prompt">$ </code>MANPATH=$HOME/local/share/man; export MANPATH
</pre><p>
One can do a test-run by executing:
</p><pre class="programlisting">
<code class="prompt">$ </code>echo 'some bug-triggering log line' | lr_log2report -o xml <converter> > /tmp/report.xml
<code class="prompt">$ </code>lr_xml2report -o txt /tmp/report.xml > /tmp/report.txt
<code class="prompt">$ </code>$HOME/local/libexec/lire/convertors/combined2dlf < /tmp/combined.log > /tmp/dlf
</pre><p>
</p></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="ch18.html">Prev</a> </td><td width="20%" align="center"><a accesskey="u" href="ch18.html">Up</a></td><td width="40%" align="right"> <a accesskey="n" href="ch18s03.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">Chapter 18. Testing and debugging </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> Using the Perl debugger on Lire code</td></tr></table></div></body></html>
|