Code

nagiosplug.git
14 years agoMerge changes from web
Thomas Guyot-Sionnest [Thu, 23 Jul 2009 12:48:02 +0000 (08:48 -0400)]
Merge changes from web

14 years agoUpdated links for exchange.nagios.org
Ton Voon [Fri, 17 Jul 2009 16:24:28 +0000 (17:24 +0100)]
Updated links for exchange.nagios.org

14 years agopst3 compile with Sun Studio Compiler
Ton Voon [Tue, 14 Jul 2009 22:20:21 +0000 (23:20 +0100)]
pst3 compile with Sun Studio Compiler

14 years agoAdded example for check_cluster to alert if more than X non-OK states
Ton Voon [Mon, 22 Jun 2009 19:48:57 +0000 (20:48 +0100)]
Added example for check_cluster to alert if more than X non-OK states

14 years agoSwitch back to "use Test" and plain prints instead of diag()
Matthias Eble [Tue, 16 Jun 2009 21:51:19 +0000 (23:51 +0200)]
Switch back to "use Test" and plain prints instead of diag()

14 years agoTinderbox output testing commit
Matthias Eble [Tue, 16 Jun 2009 17:31:25 +0000 (19:31 +0200)]
Tinderbox output testing commit

14 years agoMake output of "make test" more verbose
Matthias Eble [Mon, 15 Jun 2009 19:45:12 +0000 (21:45 +0200)]
Make output of "make test" more verbose

This is intended to make error fixing based on tinderbox output
easier.

14 years agoFixed error in rtt/rta calculation in case of system clock problems
Matthias Eble [Sun, 14 Jun 2009 21:31:29 +0000 (23:31 +0200)]
Fixed error in rtt/rta calculation in case of system clock problems

Time differences are now set to 0 in case of backward timejumps so there are no wrap-around problems any more.
The RTA calculation hopefully gets a more accurate value in these cases also.

14 years agoFixed testcases for check_snmp, check_ifstatus and check_ifoperstatus when no snmp...
Matthias Eble [Sat, 13 Jun 2009 16:13:49 +0000 (18:13 +0200)]
Fixed testcases for check_snmp, check_ifstatus and check_ifoperstatus when no snmp community is specified

The checks for invalid/unavailable hosts need a complete command line.
They failed on hosts where no community was specified. Now, an invalid community is used so
the tests can run on hosts w/o snmp host/community in NPTest.cache. Execution will fail anyway.

14 years agoFurther test parameters and skip blocks for check_ifoperstatus.t. getTestparam change...
Matthias Eble [Sat, 13 Jun 2009 09:10:32 +0000 (11:10 +0200)]
Further test parameters and skip blocks for check_ifoperstatus.t. getTestparam changes for check_ifstatus.t and ifoperstatus.t

Added snmp_interface and snmp_ifxtable test parameters to check_ifoperstatus.t.
Also getTestParameter calls for both plugins were converted to use three arguments
instead of undocumented >3 arg behaviour which led to redundant data in NPTest.cache.

14 years agoMerge branch 'master' of ssh://PsychoTrahe@repo.or.cz/srv/git/nagiosplugins
Matthias Eble [Thu, 11 Jun 2009 15:28:14 +0000 (17:28 +0200)]
Merge branch 'master' of ssh://PsychoTrahe@repo.or.cz/srv/git/nagiosplugins

14 years agorenamed check_ifoperstatus' newly introdced -x to -P so it fits check_ifstatus
Matthias Eble [Thu, 11 Jun 2009 15:24:52 +0000 (17:24 +0200)]
renamed check_ifoperstatus' newly introdced -x to -P so it fits check_ifstatus

check_ifstatus already used -x so both plugins can use same short option, now.
to specify privacy protocol.

14 years agoFixed SNMPv3 behaviour of check_ifstatus. Added -P to define privprotocol (#2343438...
Matthias Eble [Thu, 11 Jun 2009 15:20:55 +0000 (17:20 +0200)]
Fixed SNMPv3 behaviour of check_ifstatus. Added -P to define privprotocol (#2343438 - Robin Schroeder)

check_ifstatus didn't function correctly with SNMPv3. This is fixed now.
Created argument-hash for SNMP session creation. This removes redundant code.
Session creation was moved out of process_arguments() and now takes place
after setting the timeout handler.

Additionally the -P argument was added to specify the privprotocol.

14 years agoAdded testcases for check_ifoperstatus
Matthias Eble [Thu, 11 Jun 2009 14:27:15 +0000 (16:27 +0200)]
Added testcases for check_ifoperstatus

Added testcases for check_ifoperstatus. No SNMPv3 testing
included for now.

14 years agominor fixes to check_ifoperstatus
Matthias Eble [Thu, 11 Jun 2009 14:22:47 +0000 (16:22 +0200)]
minor fixes to check_ifoperstatus

Minor output fixes for check_ifoperstatus.
Fixed typo so that -n now implies -I as documented.

14 years agoUse a more "natural" way of writing argument lists in extra-opts tests.
Thomas Guyot-Sionnest [Thu, 11 Jun 2009 03:16:12 +0000 (23:16 -0400)]
Use a more "natural" way of writing argument lists in extra-opts tests.

14 years agocheck_ifoperstatus is now more user friendly in case of missing arguments
Matthias Eble [Thu, 11 Jun 2009 00:29:13 +0000 (02:29 +0200)]
check_ifoperstatus is now more user friendly in case of missing arguments

Added proper usage messages in case of missing arguments.
Removed accidently committed Data::Dumper call.
Minor whitespace fixes.

14 years agoWhitespace and indent fixes for check_ifoperstatus
Matthias Eble [Wed, 10 Jun 2009 23:34:39 +0000 (01:34 +0200)]
Whitespace and indent fixes for check_ifoperstatus

14 years agoFixed SNMPv3 behaviour of check_ifoperstatus. Added -x to define privprotocol (#23434...
Matthias Eble [Wed, 10 Jun 2009 23:17:58 +0000 (01:17 +0200)]
Fixed SNMPv3 behaviour of check_ifoperstatus. Added -x to define privprotocol (#2343438 - Robin Schroeder)

check_ifoperstatus didn't function correctly with SNMPv3. This is fixed now.
Created argument-hash for SNMP session creation. This removes redundant code.
Session creation was moved out of process_arguments() and now takes place
after setting the timeout handler.

Additionally the -x argument was added to specify the privprotocol.

14 years agoFix the memory allocation for the thresholds data
Holger Weiss [Mon, 1 Jun 2009 23:11:19 +0000 (01:11 +0200)]
Fix the memory allocation for the thresholds data

Allocate the appropriate amount of memory for storing the thresholds
data.  Before, we allocated the amount of memory required for storing a
_pointer_ to the thresholds data.  This crashed (at least) check_mysql
when using its "-S" option on FreeBSD/amd64 (as reported and analyzed by
Nikita Kalabukhov - 2797757).

Signed-off-by: Holger Weiss <holger@zedat.fu-berlin.de>
14 years agoDon't use the plain char type for data buffers
Holger Weiss [Mon, 1 Jun 2009 23:09:18 +0000 (01:09 +0200)]
Don't use the plain char type for data buffers

Buffers which are used for holding arbitrary data should be referenced
using pointers to void and accessed using pointers to unsigned char.

Signed-off-by: Holger Weiss <holger@zedat.fu-berlin.de>
14 years agoWhitespace indent fixes for check_pgsql
Matthias Eble [Mon, 1 Jun 2009 20:47:34 +0000 (22:47 +0200)]
Whitespace indent fixes for check_pgsql

14 years agoFixed check_icmp compiler warnings by including float.h
Matthias Eble [Mon, 1 Jun 2009 20:41:46 +0000 (22:41 +0200)]
Fixed check_icmp compiler warnings by including float.h

Self defined DBL_MAX caused compiler warnings. Now float.h
which defines DBL_MAX is included.

14 years agoFixed --help output for warn and critical thresholds (sf.net #2796624, debian #530553)
Matthias Eble [Mon, 1 Jun 2009 20:21:59 +0000 (22:21 +0200)]
Fixed --help output for warn and critical thresholds (sf.net #2796624, debian #530553)

check_icmp wrongly calculated the current thresholds in --help output.

14 years agoAdded verbose output to check_pgsql (#2799281 - Jun Kuriyama)
Matthias Eble [Mon, 1 Jun 2009 20:08:07 +0000 (22:08 +0200)]
Added verbose output to check_pgsql (#2799281 - Jun Kuriyama)

check_pgsql displayed the -v flag in help output, but didn't
accept the verbosity argument. Added -v and basic verbose output.

14 years agocheck_fping now supports passing target timeout and interval to fping (#2347686 ...
Matthias Eble [Mon, 1 Jun 2009 14:42:14 +0000 (16:42 +0200)]
check_fping now supports passing target timeout and interval to fping (#2347686 - Martin Foster)

Added support for passing timeout and interval length to check_fping.
To protect compatibility, both options use fping's defaults if they
are not specified on the command line.

14 years agocheck_snmp: Make use of standard threshold functions
Thomas Guyot-Sionnest [Thu, 28 May 2009 00:52:55 +0000 (20:52 -0400)]
check_snmp: Make use of standard threshold functions

This patch makes use of standard threshold functions. This allows using
doubles as thresholds.

Since SNMP supports only integers, double precision numbers are only
printed when parsed from a STRING type.

In addition, support for printing properly Timeticks type has been added,
and the code has been thoroughly cleaned.

14 years agoFix whitespaces in check_snmp
Thomas Guyot-Sionnest [Wed, 27 May 2009 05:36:47 +0000 (01:36 -0400)]
Fix whitespaces in check_snmp

14 years agoFix check_by_ssh interpretation of quotes in -C parameter (#1985246, #2268675)
Thomas Guyot-Sionnest [Tue, 26 May 2009 08:17:07 +0000 (04:17 -0400)]
Fix check_by_ssh interpretation of quotes in -C parameter (#1985246, #2268675)

14 years agoFixed wrong perfdata label for output traffic in check_mrtgtraf
Matthias Eble [Fri, 22 May 2009 21:57:36 +0000 (23:57 +0200)]
Fixed wrong perfdata label for output traffic in check_mrtgtraf

check_mrtgtraf used the label "in" for both input and output traffic.
This fixed, now.

14 years agoRemoved -n option in check_smtp's help and usage output (#2782784)
Matthias Eble [Fri, 22 May 2009 18:17:50 +0000 (20:17 +0200)]
Removed -n option in check_smtp's help and usage output (#2782784)

Check_smtp's help showed the -n/--nocommand options to not send an
SMTP command. This usage is covered by check_tcp and is thus not needed
in check_smtp.

14 years agoWhitespace changes only
Thomas Guyot-Sionnest [Wed, 20 May 2009 18:06:29 +0000 (14:06 -0400)]
Whitespace changes only

14 years agocheck_http: Add SSL/TLS hostname extension support (SNI) - (#1939022 - Joe Presbrey)
Thomas Guyot-Sionnest [Wed, 20 May 2009 05:05:35 +0000 (01:05 -0400)]
check_http: Add SSL/TLS hostname extension support (SNI) - (#1939022 - Joe Presbrey)

14 years agoFix awk subst.in/subst script path error (#2722832 - Martin Foster)
Thomas Guyot-Sionnest [Wed, 20 May 2009 04:43:10 +0000 (00:43 -0400)]
Fix awk subst.in/subst script path error (#2722832 - Martin Foster)

14 years agoFix check_mysql* not using password set in my.cnf (#2531905 - Ben Timby)
Thomas Guyot-Sionnest [Wed, 20 May 2009 04:20:11 +0000 (00:20 -0400)]
Fix check_mysql* not using password set in my.cnf (#2531905 - Ben Timby)

14 years agoSync with the latest Gnulib code (cb75dc5)
Holger Weiss [Tue, 19 May 2009 22:32:10 +0000 (00:32 +0200)]
Sync with the latest Gnulib code (cb75dc5)

Signed-off-by: Holger Weiss <holger@zedat.fu-berlin.de>
14 years agoFix a few minor typos
Chris Pepper [Tue, 19 May 2009 12:18:42 +0000 (14:18 +0200)]
Fix a few minor typos

Signed-off-by: Holger Weiss <holger@zedat.fu-berlin.de>
14 years agoTalk about Git instead of CVS
Holger Weiss [Tue, 19 May 2009 12:18:02 +0000 (14:18 +0200)]
Talk about Git instead of CVS

Update the Developer Guidelines to reflect the fact that our development
is done using Git instead of CVS these days (as noted by Chris Pepper on
the "nagiosplug-devel" list).

While at it, apply another few minor cleanups.

Signed-off-by: Holger Weiss <holger@zedat.fu-berlin.de>
14 years agoRemove comments regarding former requirements
Holger Weiss [Tue, 19 May 2009 11:46:50 +0000 (13:46 +0200)]
Remove comments regarding former requirements

Don't explain why Libtool and Gettext are no longer needed.  Libtool
actually is a requirement, as (at least) the M4 macros provided by
Libtool are needed for our Autotools setup.  And the fact that Gettext
is no longer needed probably isn't that interesting for new developers.

Signed-off-by: Holger Weiss <holger@zedat.fu-berlin.de>
15 years agoFixed typo in check_disk
Ton Voon [Thu, 7 May 2009 21:28:56 +0000 (22:28 +0100)]
Fixed typo in check_disk

15 years agoFixed crash from check_nt when -H unspecified or given multiple times (sf.net #273175...
Matthias Eble [Fri, 1 May 2009 09:16:37 +0000 (11:16 +0200)]
Fixed crash from check_nt when -H unspecified or given multiple times (sf.net #2731755, debian #521097)

15 years agocheck_nt: allow returning UNKNOWN on timeouts (-u)
Thomas Guyot-Sionnest [Wed, 25 Mar 2009 03:46:09 +0000 (23:46 -0400)]
check_nt: allow returning UNKNOWN on timeouts (-u)

15 years agoMake socket alarm handler customisable (like c459ca07)
Thomas Guyot-Sionnest [Wed, 25 Mar 2009 01:40:06 +0000 (21:40 -0400)]
Make socket alarm handler customisable (like c459ca07)

15 years agocheck_mysql: Fix segfault with old slaves (#2696823 - Oskar Ahner)
Thomas Guyot-Sionnest [Tue, 24 Mar 2009 06:01:48 +0000 (02:01 -0400)]
check_mysql: Fix segfault with old slaves (#2696823 - Oskar Ahner)

15 years agoWhitespace and intend cleanup
Thomas Guyot-Sionnest [Tue, 24 Mar 2009 05:50:01 +0000 (01:50 -0400)]
Whitespace and intend cleanup

15 years agoUpdate check_http short help with new stycky and stickyport options.
Thomas Guyot-Sionnest [Sat, 21 Mar 2009 06:56:35 +0000 (02:56 -0400)]
Update check_http short help with new stycky and stickyport options.

15 years agocheck_http: die when an invalid --onredirect option is specified
Thomas Guyot-Sionnest [Sat, 21 Mar 2009 06:39:49 +0000 (02:39 -0400)]
check_http: die when an invalid --onredirect option is specified

15 years agocheck_http: add --onredirect=stickyport - also follow the same port
Thomas Guyot-Sionnest [Sat, 21 Mar 2009 06:32:50 +0000 (02:32 -0400)]
check_http: add --onredirect=stickyport - also follow the same port

15 years agoAdd the timegm Gnulib module
Thomas Guyot-Sionnest [Fri, 20 Mar 2009 06:48:40 +0000 (02:48 -0400)]
Add the timegm Gnulib module

15 years agonegate: make timeouts configurable
Thomas Guyot-Sionnest [Fri, 20 Mar 2009 06:28:02 +0000 (02:28 -0400)]
negate: make timeouts configurable

15 years agoMake alarm handler customisable
Thomas Guyot-Sionnest [Fri, 20 Mar 2009 06:19:42 +0000 (02:19 -0400)]
Make alarm handler customisable

15 years agonegate: Fix not printing the real timeout in ALRM handler when timeout is left to...
Thomas Guyot-Sionnest [Fri, 20 Mar 2009 05:40:00 +0000 (01:40 -0400)]
negate: Fix not printing the real timeout in ALRM handler when timeout is left to default

15 years agotests/check_http.t: Add various timeout-related tests
Thomas Guyot-Sionnest [Fri, 20 Mar 2009 05:20:29 +0000 (01:20 -0400)]
tests/check_http.t: Add various timeout-related tests

15 years agoFixed check_http not timing-out on redirects
Thomas Guyot-Sionnest thomas@aei.ca [Thu, 19 Mar 2009 20:59:43 +0000 (13:59 -0700)]
Fixed check_http not timing-out on redirects

15 years agoRevert "Add timezone support and fix checks around cert expiration" (keep the expirat...
Thomas Guyot-Sionnest [Thu, 19 Mar 2009 02:21:00 +0000 (22:21 -0400)]
Revert "Add timezone support and fix checks around cert expiration" (keep the expiration fix)

This reverts commit d41a33a434558189300113c28b26e2d3d681d390.

15 years agoAdd suggested multi-oid test (John A. Barbuto)
Thomas Guyot-Sionnest [Wed, 18 Mar 2009 07:51:16 +0000 (03:51 -0400)]
Add suggested multi-oid test (John A. Barbuto)

15 years agocheck_snmp: Fix potential buffer overflow - enforce MAX_OIDS limit (John A. Barbuto)
Thomas Guyot-Sionnest [Wed, 18 Mar 2009 07:47:23 +0000 (03:47 -0400)]
check_snmp: Fix potential buffer overflow - enforce MAX_OIDS limit (John A. Barbuto)

15 years agoFix logging of STDERR in tinderbox tests phase
Thomas Guyot-Sionnest [Wed, 18 Mar 2009 07:30:40 +0000 (03:30 -0400)]
Fix logging of STDERR in tinderbox tests phase

15 years agoAdd timezone support and fix checks around cert expiration
Thomas Guyot-Sionnest [Tue, 17 Mar 2009 07:39:12 +0000 (03:39 -0400)]
Add timezone support and fix checks around cert expiration

15 years agoCheck for existence of pre-instaleld pst3 for Solaris tests in t/check_procs.t
Thomas Guyot-Sionnest [Tue, 17 Mar 2009 06:56:26 +0000 (01:56 -0500)]
Check for existence of pre-instaleld pst3 for Solaris tests in t/check_procs.t

15 years agoFix check_http sending HTTP/1.0 with v1.1 headers (#2638765)
Thomas Guyot-Sionnest [Tue, 17 Mar 2009 05:53:00 +0000 (01:53 -0400)]
Fix check_http sending HTTP/1.0 with v1.1 headers (#2638765)

15 years agoFix check_snmp test on solaris
Thomas Guyot-Sionnest [Mon, 16 Mar 2009 23:49:51 +0000 (18:49 -0500)]
Fix check_snmp test on solaris

15 years agoUpdate extended check_http tests for 0d78171...
Thomas Guyot-Sionnest [Mon, 16 Mar 2009 07:09:15 +0000 (03:09 -0400)]
Update extended check_http tests for 0d78171...
Also add some tests, and make debug mode loop infinitely.

15 years agocheck_http fixes:
Thomas Guyot-Sionnest [Mon, 16 Mar 2009 07:06:33 +0000 (03:06 -0400)]
check_http fixes:
- Fix broken printf on 500 errors
- Add bytes to normal output (accidentally removed in 0d78171)

15 years agocheck_snmp fixes:
Thomas Guyot-Sionnest [Mon, 16 Mar 2009 05:37:00 +0000 (01:37 -0400)]
check_snmp fixes:
- Fix broken compilation caused by typo in command ending
- Remove extra whitespaces at EOL
- Fix invalid host test on Ubuntu Hardy (and possibly others)

15 years agoIgnore stderr messages unless return code is non-zero or there is no output
Ton Voon [Sat, 14 Mar 2009 02:36:20 +0000 (02:36 +0000)]
Ignore stderr messages unless return code is non-zero or there is no output

15 years agoFixed passing of quotes in OID for check_snmp (#1985230 - Jan Wagner, patch by John...
Ton Voon [Sat, 14 Mar 2009 01:17:50 +0000 (01:17 +0000)]
Fixed passing of quotes in OID for check_snmp (#1985230 - Jan Wagner, patch by John Barbuto)

15 years agoCreate expired cert for testing purposes. Updated tests to check
Ton Voon [Fri, 6 Mar 2009 00:24:38 +0000 (00:24 +0000)]
Create expired cert for testing purposes. Updated tests to check
expired and unexpired certificates

15 years agoMerge branch 'master' of ssh://repo.or.cz/srv/git/nagiosplugins
Ton Voon [Thu, 5 Mar 2009 23:39:31 +0000 (23:39 +0000)]
Merge branch 'master' of ssh://repo.or.cz/srv/git/nagiosplugins

15 years agoAdded inline tests for HTTPS using HTTP::Daemon::SSL
Ton Voon [Thu, 5 Mar 2009 23:37:45 +0000 (23:37 +0000)]
Added inline tests for HTTPS using HTTP::Daemon::SSL

15 years agocheck_snmp long help missing retries entry (#2608223)
Thomas Guyot-Sionnest [Tue, 24 Feb 2009 09:40:21 +0000 (04:40 -0500)]
check_snmp long help missing retries entry (#2608223)

Fix for check_snmp long help, reported by Richard Edward Horner

15 years agoUpdated string ids, due to typo fixes
Ton Voon [Fri, 20 Feb 2009 00:07:40 +0000 (00:07 +0000)]
Updated string ids, due to typo fixes

15 years agoTypo fixes (Jan Wagner - SF 1878971)
Ton Voon [Fri, 20 Feb 2009 00:00:13 +0000 (00:00 +0000)]
Typo fixes (Jan Wagner - SF 1878971)

15 years agoFixed coredump from check_nt when drive not found (Olli Hauer - SF 2179754)
Ton Voon [Thu, 19 Feb 2009 23:43:15 +0000 (23:43 +0000)]
Fixed coredump from check_nt when drive not found (Olli Hauer - SF 2179754)

15 years agoDevel doc: NP-VERSION-GEN needs to be updated as well
Thomas Guyot-Sionnest [Fri, 6 Feb 2009 13:04:55 +0000 (08:04 -0500)]
Devel doc: NP-VERSION-GEN needs to be updated as well

15 years agoSmall correction in NEWS entry
Thomas Guyot-Sionnest [Fri, 6 Feb 2009 12:22:57 +0000 (07:22 -0500)]
Small correction in NEWS entry

15 years agoUpdate the devel notes for Git
Thomas Guyot-Sionnest [Fri, 6 Feb 2009 12:22:22 +0000 (07:22 -0500)]
Update the devel notes for Git

15 years agoRevert "Moving project administration documents to nagiosplugins.org site"
Thomas Guyot-Sionnest [Fri, 6 Feb 2009 11:35:03 +0000 (06:35 -0500)]
Revert "Moving project administration documents to nagiosplugins.org site"

This reverts commit f4a52594818e7c3634a397ac1f86ef87a68bd121.

15 years agocheck_http --onredirect=sticky follows using the same IP address (sf.net #2550208).
Thomas Guyot-Sionnest [Thu, 5 Feb 2009 05:08:54 +0000 (00:08 -0500)]
check_http --onredirect=sticky follows using the same IP address (sf.net #2550208).

15 years agoAdd NEWS entry for last commit
Thomas Guyot-Sionnest [Tue, 3 Feb 2009 10:10:06 +0000 (05:10 -0500)]
Add NEWS entry for last commit

15 years agoFix aberrant behaviours in check_http:
Thomas Guyot-Sionnest [Tue, 3 Feb 2009 09:20:29 +0000 (04:20 -0500)]
Fix aberrant behaviours in check_http:

check_http used to ignore many parameters with check combinations - sometimes
even time thresholds(!!)

With this commit as long as a response is received *all* checks are performed
on it.

This fixes #1460312 plus a number of other issues I discovered over time.

15 years agoMake extract_value more generic:
Thomas Guyot-Sionnest [Mon, 26 Jan 2009 07:05:21 +0000 (02:05 -0500)]
Make extract_value more generic:

Add a separator argument passed using defines.

15 years agoRemove the commented out blocks
Thomas Guyot-Sionnest [Sat, 24 Jan 2009 12:41:45 +0000 (07:41 -0500)]
Remove the commented out blocks

The die tests are implemented in the test_*3.t files

15 years agoFix paths in test_ini tests
Thomas Guyot-Sionnest [Sat, 24 Jan 2009 05:41:00 +0000 (00:41 -0500)]
Fix paths in test_ini tests

15 years agoAdd die tests for parse_ini
Thomas Guyot-Sionnest [Fri, 23 Jan 2009 07:39:45 +0000 (02:39 -0500)]
Add die tests for parse_ini

15 years agoReturn UNKNOWN if none of the default files can be found.
Thomas Guyot-Sionnest [Thu, 22 Jan 2009 07:24:39 +0000 (02:24 -0500)]
Return UNKNOWN if none of the default files can be found.

It makes no sense to return unknown if an implicit section is not found, but
go on if the file is missing

15 years agoAdd die tests for extra-opts
Thomas Guyot-Sionnest [Wed, 21 Jan 2009 06:27:06 +0000 (01:27 -0500)]
Add die tests for extra-opts

15 years agoMove check_ntp's extract_value to utils_base.c.
Thomas Guyot-Sionnest [Tue, 20 Jan 2009 03:14:03 +0000 (22:14 -0500)]
Move check_ntp's extract_value to utils_base.c.

This function can also be used to parse performance data strings which
could be useful in the future.

15 years agoAccidentally included built executables - also updated .gitignore
Thomas Guyot-Sionnest [Wed, 21 Jan 2009 06:25:06 +0000 (01:25 -0500)]
Accidentally included built executables - also updated .gitignore

15 years agoSome platform are missing setenv
Thomas Guyot-Sionnest [Wed, 21 Jan 2009 04:55:34 +0000 (23:55 -0500)]
Some platform are missing setenv

Instead of adding the gnulib module for solving tests only I split the test
in two, setting environment from Perl for the later.

15 years agoFix (or try at least) for IRIX compile to tap tests
Thomas Guyot-Sionnest [Wed, 21 Jan 2009 03:28:30 +0000 (22:28 -0500)]
Fix (or try at least) for IRIX compile to tap tests

Gnulib says: "$(LTLIBINTL) when linking with libtool, $(LIBINTL) otherwise"
Everywhere else we use LTLIBINTL so I assume the tests should use it as well.

15 years agoTrick for check_users test without users logged-in
Thomas Guyot-Sionnest [Wed, 21 Jan 2009 02:48:05 +0000 (21:48 -0500)]
Trick for check_users test without users logged-in

15 years agoBuild extra-opts in tinderbox so they can be tested
Thomas Guyot-Sionnest [Mon, 19 Jan 2009 05:11:59 +0000 (00:11 -0500)]
Build extra-opts in tinderbox so they can be tested

15 years agoRe-apply "Cleanup; fix the way libraries are linked; Make-It-Simple(tm)"
Thomas Guyot-Sionnest [Sun, 18 Jan 2009 21:26:58 +0000 (16:26 -0500)]
Re-apply "Cleanup; fix the way libraries are linked; Make-It-Simple(tm)"

This reverts commit 7449b16b1781c645751e2c05b93893e93630fb2a.

15 years agoTrying out new patch for IRIX 6.5 from Bruno Haible
Thomas Guyot-Sionnest [Sun, 18 Jan 2009 14:42:04 +0000 (09:42 -0500)]
Trying out new patch for IRIX 6.5 from Bruno Haible

See: http://article.gmane.org/gmane.comp.lib.gnulib.bugs/16341

15 years agoRevert "Trying out a patch for IRIX 11"
Thomas Guyot-Sionnest [Sun, 18 Jan 2009 14:35:17 +0000 (09:35 -0500)]
Revert "Trying out a patch for IRIX 11"

This reverts commit d190c5d25865a7414eea4fe6409a94842fba220e.

15 years agoTrying out a patch for IRIX 11
Thomas Guyot-Sionnest [Sat, 17 Jan 2009 01:36:00 +0000 (20:36 -0500)]
Trying out a patch for IRIX 11

See: http://lists.gnu.org/archive/html/bug-gnulib/2009-01/msg00098.html

15 years agoRemoving AC_FUNC_ALLOCA from configure.in (added in the gnulib sync commit)
Thomas Guyot-Sionnest [Thu, 15 Jan 2009 11:24:24 +0000 (06:24 -0500)]
Removing AC_FUNC_ALLOCA from configure.in (added in the gnulib sync commit)

I added AC_FUNC_ALLOCA because of a mistake on my part (which has been fixed
before the final commit). Removing it now.

15 years agoTypo
Thomas Guyot-Sionnest [Thu, 15 Jan 2009 11:12:04 +0000 (06:12 -0500)]
Typo

15 years agoSync with gnulib
Thomas Guyot-Sionnest [Thu, 15 Jan 2009 09:22:57 +0000 (04:22 -0500)]
Sync with gnulib