diff options
Diffstat (limited to 'doc')
-rw-r--r-- | doc/developer-guidelines.sgml | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/doc/developer-guidelines.sgml b/doc/developer-guidelines.sgml index 82dbeca..a7555e9 100644 --- a/doc/developer-guidelines.sgml +++ b/doc/developer-guidelines.sgml | |||
@@ -294,7 +294,7 @@ | |||
294 | 294 | ||
295 | <section><title>Translations</title> | 295 | <section><title>Translations</title> |
296 | <para>If possible, use translation tools for all output to respect the user's language | 296 | <para>If possible, use translation tools for all output to respect the user's language |
297 | settings. See <xref linkend="translations_developers"> for guidelines | 297 | settings. See <xref linkend="translationsdevelopers"> for guidelines |
298 | for the core plugins. | 298 | for the core plugins. |
299 | </para> | 299 | </para> |
300 | </section> | 300 | </section> |
@@ -616,22 +616,22 @@ link</ulink> | |||
616 | 616 | ||
617 | <section><title>Testing the C library functions</title> | 617 | <section><title>Testing the C library functions</title> |
618 | <para> | 618 | <para> |
619 | Uses <ulink url="http://jc.ngo.org.uk/trac-bin/trac.cgi/wiki/LibTap">the libtap library</ulink>, which gives | 619 | We use <ulink url="http://jc.ngo.org.uk/trac-bin/trac.cgi/wiki/LibTap">the libtap library</ulink>, which gives |
620 | perl's TAP | 620 | perl's TAP |
621 | (Test Anything Protocol) output. This is used by the FreeBSD team for their regression testing. | 621 | (Test Anything Protocol) output. This is used by the FreeBSD team for their regression testing. |
622 | </para> | 622 | </para> |
623 | 623 | ||
624 | <para> | 624 | <para> |
625 | To run tests using the libtap library, download from http://people.freebsd.org/~nik/public_distfiles/ | 625 | To run tests using the libtap library, download the latest tar ball and extract. |
626 | and compile. There is a problem with tap-1.01 | 626 | There is a problem with tap-1.01 where |
627 | where <ulink url="http://jc.ngo.org.uk/trac-bin/trac.cgi/ticket/25">pthread support doesn't appear to work</ulink> | 627 | <ulink url="http://jc.ngo.org.uk/trac-bin/trac.cgi/ticket/25">pthread support doesn't appear to work</ulink> |
628 | properly on non-FreeBSD systems. Compile with 'CPPFLAGS="-UHAVE_LIBPTHREAD" ./configure'. You do not need | 628 | properly on non-FreeBSD systems. Compile with 'CPPFLAGS="-UHAVE_LIBPTHREAD" ./configure && make && make check'. |
629 | to install. | 629 | You do not need to install. |
630 | </para> | 630 | </para> |
631 | 631 | ||
632 | <para> | 632 | <para> |
633 | You then have to run the Nagios Plugins' configure with the --with-libtap-object=full_path to the compiled | 633 | You then have to run the Nagios Plugins' configure with the --with-libtap-srcdir=path, where path is the |
634 | tap.o file. | 634 | full path to the tap.h and compiled tap.o file. |
635 | Then run "make" and "make test" to run all tests. | 635 | Then run "make" and "make test" to run all tests. |
636 | </para> | 636 | </para> |
637 | </section> | 637 | </section> |
@@ -671,7 +671,7 @@ Then run "make" and "make test" to run all tests. | |||
671 | update the THANKS.in file.</para> | 671 | update the THANKS.in file.</para> |
672 | </section> | 672 | </section> |
673 | 673 | ||
674 | <section id="translations_developers"><title>Translations for developers</title> | 674 | <section id="translationsdevelopers"><title>Translations for developers</title> |
675 | <para>To make the job easier for translators, please follow these guidelines:</para> | 675 | <para>To make the job easier for translators, please follow these guidelines:</para> |
676 | <orderedlist> | 676 | <orderedlist> |
677 | <listitem><para> | 677 | <listitem><para> |