Commit graph

1986 commits

Author SHA1 Message Date
Thomas Guyot-Sionnest
d5ea0d19fa Fix logging of STDERR in tinderbox tests phase 2009-03-18 03:34:39 -04:00
Thomas Guyot-Sionnest
d41a33a434 Add timezone support and fix checks around cert expiration 2009-03-18 03:34:25 -04:00
Thomas Guyot-Sionnest
9a05e97890 Check for existence of pre-instaleld pst3 for Solaris tests in t/check_procs.t 2009-03-17 01:56:26 -05:00
Thomas Guyot-Sionnest
16030bc497 Fix check_http sending HTTP/1.0 with v1.1 headers (#2638765) 2009-03-17 01:53:00 -04:00
Thomas Guyot-Sionnest
c3c528952d Fix check_snmp test on solaris 2009-03-16 18:49:51 -05:00
Thomas Guyot-Sionnest
d89d0b40f9 Update extended check_http tests for 0d78171...
Also add some tests, and make debug mode loop infinitely.
2009-03-16 03:09:15 -04:00
Thomas Guyot-Sionnest
6b8502bee6 check_http fixes:
- Fix broken printf on 500 errors
- Add bytes to normal output (accidentally removed in 0d78171)
2009-03-16 03:06:33 -04:00
Thomas Guyot-Sionnest
e2aec83e61 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)
2009-03-16 01:37:00 -04:00
Ton Voon
12c17fe8a2 Ignore stderr messages unless return code is non-zero or there is no output 2009-03-14 02:36:20 +00:00
Ton Voon
36e58ae0c3 Fixed passing of quotes in OID for check_snmp (#1985230 - Jan Wagner, patch by John Barbuto) 2009-03-14 01:17:50 +00:00
Ton Voon
674841e279 Create expired cert for testing purposes. Updated tests to check
expired and unexpired certificates
2009-03-06 00:24:38 +00:00
Ton Voon
0e5a9df135 Merge branch 'master' of ssh://repo.or.cz/srv/git/nagiosplugins 2009-03-05 23:39:31 +00:00
Ton Voon
8580335779 Added inline tests for HTTPS using HTTP::Daemon::SSL 2009-03-05 23:37:45 +00:00
Thomas Guyot-Sionnest
660dabd5ac check_snmp long help missing retries entry (#2608223)
Fix for check_snmp long help, reported by Richard Edward Horner
2009-02-24 04:43:09 -05:00
Ton Voon
d0695b26c1 Updated string ids, due to typo fixes 2009-02-20 00:07:40 +00:00
Ton Voon
5324544855 Typo fixes (Jan Wagner - SF 1878971) 2009-02-20 00:00:13 +00:00
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