Ton Voon
31efea1b49
Fixed coredump from check_nt when drive not found (Olli Hauer - SF 2179754)
2009-02-19 23:43:15 +00:00
Thomas Guyot-Sionnest
b99afc69bf
Devel doc: NP-VERSION-GEN needs to be updated as well
2009-02-06 08:04:55 -05:00
Thomas Guyot-Sionnest
0af97a2f84
Small correction in NEWS entry
2009-02-06 07:22:57 -05:00
Thomas Guyot-Sionnest
7082ff2abd
Update the devel notes for Git
2009-02-06 07:22:22 -05:00
Thomas Guyot-Sionnest
bab46e817f
Revert "Moving project administration documents to nagiosplugins.org site"
...
This reverts commit f4a5259481 .
2009-02-06 06:35:03 -05:00
Thomas Guyot-Sionnest
d00a53dd1e
check_http --onredirect=sticky follows using the same IP address (sf.net #2550208 ).
2009-02-05 00:47:07 -05:00
Thomas Guyot-Sionnest
8aa65b21eb
Add NEWS entry for last commit
2009-02-03 05:14:00 -05:00
Thomas Guyot-Sionnest
0d781712d7
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.
2009-02-03 04:50:47 -05:00
Thomas Guyot-Sionnest
ba132e9e52
Make extract_value more generic:
...
Add a separator argument passed using defines.
2009-01-26 02:05:21 -05:00
Thomas Guyot-Sionnest
0a74b6fda0
Remove the commented out blocks
...
The die tests are implemented in the test_*3.t files
2009-01-24 07:41:45 -05:00
Thomas Guyot-Sionnest
1b1dc7a48b
Fix paths in test_ini tests
2009-01-24 00:41:00 -05:00
Thomas Guyot-Sionnest
8b103c0c77
Add die tests for parse_ini
2009-01-23 02:43:59 -05:00
Thomas Guyot-Sionnest
485f306868
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
2009-01-22 02:24:39 -05:00
Thomas Guyot-Sionnest
bf4abd5395
Add die tests for extra-opts
2009-01-22 02:04:31 -05:00
Thomas Guyot-Sionnest
a4647be424
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.
2009-01-21 01:27:40 -05:00
Thomas Guyot-Sionnest
81871eaa82
Accidentally included built executables - also updated .gitignore
2009-01-21 01:25:06 -05:00
Thomas Guyot-Sionnest
3b69f13467
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.
2009-01-20 23:58:02 -05:00
Thomas Guyot-Sionnest
26bf63a5bb
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.
2009-01-20 22:28:30 -05:00
Thomas Guyot-Sionnest
948cf21aae
Trick for check_users test without users logged-in
2009-01-20 21:48:05 -05:00
Thomas Guyot-Sionnest
1f12b2329d
Build extra-opts in tinderbox so they can be tested
2009-01-19 00:11:59 -05:00
Thomas Guyot-Sionnest
82674792c7
Re-apply "Cleanup; fix the way libraries are linked; Make-It-Simple(tm)"
...
This reverts commit 7449b16b17 .
2009-01-18 16:26:58 -05:00
Thomas Guyot-Sionnest
9276888e34
Trying out new patch for IRIX 6.5 from Bruno Haible
...
See: http://article.gmane.org/gmane.comp.lib.gnulib.bugs/16341
2009-01-18 09:42:04 -05:00
Thomas Guyot-Sionnest
7903d763bb
Revert "Trying out a patch for IRIX 11"
...
This reverts commit d190c5d258 .
2009-01-18 09:35:17 -05:00
Thomas Guyot-Sionnest
d190c5d258
Trying out a patch for IRIX 11
...
See: http://lists.gnu.org/archive/html/bug-gnulib/2009-01/msg00098.html
2009-01-16 20:36:00 -05:00
Thomas Guyot-Sionnest
c5c3b3748a
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.
2009-01-15 06:24:24 -05:00
Thomas Guyot-Sionnest
09f9ddd18d
Typo
2009-01-15 06:12:04 -05:00
Thomas Guyot-Sionnest
71cdb52799
Sync with gnulib
2009-01-15 05:19:08 -05:00
Thomas Guyot-Sionnest
f7afa46586
Clean up last commit - remove the __STDC_VERSION__ check in tap.h
...
HP-UX refuses to compile tap with the check for __STDC_VERSION__ >= 199901L
even though it can.
2009-01-15 01:03:00 -05:00
Thomas Guyot-Sionnest
c0989fe7cb
Trying to see if HP-UX will compile without the __STDC_VERSION__ check in tap.h
2009-01-14 06:55:46 -05:00
Thomas Guyot-Sionnest
301871bd6f
Make /lib before /lib/tests to satisfy dependencies (building tests fails on IRIX)
2009-01-13 04:31:30 -05:00
Thomas Guyot-Sionnest
f8c6d8b52e
Fix test from last commit
2009-01-09 08:16:52 -05:00
Thomas Guyot-Sionnest
4d5eb82a47
basename check in test_utils.c was accidentaly added again.
...
In 538b97c I reverted a serie of libtap patch by Ton Voon; it included
the removal of the useless basename check.
Relevant portion of the changelog from which it was removed (f31cd40 ):
Removed basename test as we should use base_name from GNUlib which is
tested separately
2009-01-09 02:44:36 -05:00
Thomas Guyot-Sionnest
7449b16b17
Revert "Cleanup; fix the way libraries are linked; Make-It-Simple(tm)"
...
Trying to see if this has any relation to the tinderbox failure. I doubt it
and will revert back as soon as it's tested.
This reverts commit a97e5fbda2 .
2009-01-09 02:27:02 -05:00
Thomas Guyot-Sionnest
254baca111
Try to make IRIX happy (this fixes a similar warning in Solaris)
2009-01-08 08:14:19 -05:00
Thomas Guyot-Sionnest
a97e5fbda2
Cleanup; fix the way libraries are linked; Make-It-Simple(tm)
...
lib/Makefile.am | 2 +-
lib/tests/Makefile.am | 37 ++++---------------------------------
2 files changed, 5 insertions(+), 34 deletions(-)
2009-01-07 04:41:54 -05:00
Thomas Guyot-Sionnest
3169745fa2
git2svn: Use --add-author-from with "git set-tree"
2009-01-06 00:49:16 -05:00
Thomas Guyot-Sionnest
c74e49f365
tinderbox_build: Add --enable-libtap configure option
2009-01-06 00:39:57 -05:00
Thomas Guyot-Sionnest
1c62d78750
tinderbox_build: Clarify comment
2009-01-06 00:39:18 -05:00
Ton Voon
639f7b2c82
Allow privproto to be passed through check_snmp to snmpget. Defaults to DES
...
for compatibility
2008-12-23 11:52:04 +00:00
Thomas Guyot-Sionnest
f8b606b728
check_mrtg: fix plugin returning UNKNOWN instead of OK (bug #2378068 )
2008-12-03 08:00:05 -05:00
Ton Voon
d2f56c4e86
Updated to latest due to SF policy changes
2008-12-02 17:24:33 +00:00
Thomas Guyot-Sionnest
2bbf2e6967
Add Libtap as a bundled library (does not change any behaviour without --enable-libtap)
...
Detects system library as pre-1.4.13 and does not install the built-in library anymore
Tested on:
- Linux x86_64, with and without local libtap (System libtap installed)
- Linux x86, with and without local libtap (System libtap NOT installed)
- Solaris SPARC, with and without local libtap, with and without system libtap installed
2008-11-29 04:38:54 -05:00
Thomas Guyot-Sionnest
538b97cea6
Revert inclusion of libtap into nagiosplugins
...
(except for the NEWS file)
This reverts the following commits (latest first): f3e0909 , 9f16b54 , be8df51 , f31cd40 , 5270c7d , a25083f , f1bfe40 , c503d85 and 6c476db
2008-11-28 03:22:39 -05:00
Thomas Guyot-Sionnest
d40abb2504
tinderbox: Don't alter SunOS path if we're building off a repository tree
...
SunOS make will work only out of snapshots and releases.
2008-11-27 06:27:47 -05:00
Thomas Guyot-Sionnest
399f0770b2
Fixing build breakages (I totally forgot this rule was there...)
2008-11-26 21:29:40 -05:00
Thomas Guyot-Sionnest
db305b81c7
Fix it for good now
2008-11-26 06:04:04 -05:00
Thomas Guyot-Sionnest
bf3d216085
Minor fix in NP-VERSION-GEN
2008-11-26 05:55:57 -05:00
Thomas Guyot-Sionnest
9bcfa9cded
Disable dynamic versionning for releases, and allow generating version out of subversion.
...
This should be a definitive fix for systems with non-compilant make programs as the version will be taken from $(PACKAGE_VERSION) instead.
At the same time I added code for generating svn-based version strings.
2008-11-26 05:42:48 -05:00
Thomas Guyot-Sionnest
ed9a088b37
Workaround to support more make programs
...
Avoid the use of "-include". Since "include" is interpreted by Automake, we have to use a special macro instead.
2008-11-25 08:50:35 -05:00
Thomas Guyot-Sionnest
0c34b75b05
Exporting ENV vars from Makefile is supported only with GNU Make. Use the shell instead.
2008-11-25 00:28:51 -05:00