Feature #1192

replace libtap with an actively developed version

Added by dnsmichi about 3 years ago. Updated about 2 years ago.

Status:ResolvedStart date:02/08/2011
Priority:NormalDue date:
Assignee:dnsmichi% Done:

100%

Category:Testing
Target version:Icinga 1.x - 1.7

Description

https://github.com/zorgnax/libtap?

as pointed out by sven, seems to be more active development on that.

Associated revisions

Revision 6b02a90b
Added by dnsmichi about 2 years ago

tests: replace libtap with an actively developed version #1192

refs #1192

Revision abc2e7f9
Added by dnsmichi about 2 years ago

tests: you can now test with pleasure: $ make distclean ; ./configure ; make test #2369 #1192

no, i don't want to run 'make all' before running make test-perl
and no, i don't want debug funny perl error msg.

just fix it and allow test focus on the more important things.

refs #1192
refs #2369

Revision e16b53cb
Added by dnsmichi about 2 years ago

tests: readd ignored libtap Makefile

refs #1192

Revision 7e57f303
Added by dnsmichi about 2 years ago

fix test_checks in t-tap, strange sigsegv all the way ...

passing a checkresult from services straight to a host
without checking that the svcdesc is null'ed leads to
rather strange behaviour. furthermore, using calloc
instead of malloc does not prevent us from initializing
all the important members which reach the inner core
functionality already set - we shouldn't fail on the
tests just because we don't know how to set variables.

refs #1192

History

#1 Updated by dnsmichi over 2 years ago

  • Status changed from New to Closed

#2 Updated by dnsmichi about 2 years ago

  • Category set to Testing
  • Status changed from Closed to Assigned
  • Assignee set to dnsmichi
  • Target version set to 1.7

as a matter of fact, the currently used libtap in tap/ is outdated and it seems, not developed anymore.

the one on github is actively developed, and requires some small adaptions.

plan_tests => plan
todo_start => todo
todo_end => cendtodo

meanwhile, it does not require a configure call anymore, so we can silently drop --enable-libtap in configure as well.
furthermore, the current location in tap/ is rather suspicious, as we should ship bundled libraries elsewhere. the new location will be tools/libtap with a special README.icinga file. as well as a distclean patch to the Makefile.

#3 Updated by dnsmichi about 2 years ago

tools/libtap/README.icinga

libtap in Icinga
----------------

The original libtap implementation from http://jc.ngo.org.uk/trac-bin/trac.cgi/wiki/LibTap
seems to have stopped development (last release 2005, autoconf 2.59. no --datarootdir).

Icinga now steps onto https://github.com/zorgnax/libtap which provides active development
as well as more flexibility on build systems (no configure, but plain make).

This will also be place in tools/libtap as bundled library, not to confuse with the main
package.

For further questions on testing, please refer to the official Icinga support channels at
https://www.icinga.org/support/

More information on testing strategies can be found in the Icinga wiki
https://wiki.icinga.org

#4 Updated by dnsmichi about 2 years ago

  • Tracker changed from Support to Feature
  • Subject changed from replace libtap to replace libtap with an actively developed version
  • Priority changed from Low to Normal

#5 Updated by dnsmichi about 2 years ago

  • Status changed from Assigned to Resolved
  • % Done changed from 0 to 100

Also available in: Atom PDF