monitoring-plugins/tap/tests
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
..
diag Add Libtap as a bundled library (does not change any behaviour without --enable-libtap) 2008-11-29 04:38:54 -05:00
fail Add Libtap as a bundled library (does not change any behaviour without --enable-libtap) 2008-11-29 04:38:54 -05:00
ok Add Libtap as a bundled library (does not change any behaviour without --enable-libtap) 2008-11-29 04:38:54 -05:00
pass Add Libtap as a bundled library (does not change any behaviour without --enable-libtap) 2008-11-29 04:38:54 -05:00
plan Add Libtap as a bundled library (does not change any behaviour without --enable-libtap) 2008-11-29 04:38:54 -05:00
skip Add Libtap as a bundled library (does not change any behaviour without --enable-libtap) 2008-11-29 04:38:54 -05:00
todo Add Libtap as a bundled library (does not change any behaviour without --enable-libtap) 2008-11-29 04:38:54 -05:00
Makefile.am Add Libtap as a bundled library (does not change any behaviour without --enable-libtap) 2008-11-29 04:38:54 -05:00
README Add Libtap as a bundled library (does not change any behaviour without --enable-libtap) 2008-11-29 04:38:54 -05:00

Most of the tests follow the same pattern.

 * test.pl that uses Test::More, and demonstrates whatever functionality 
   that we're trying to test.  This is the reference code.

 * test.c, which tests the libtap reimplementation of the same functionality.

 * test.t, which compiles the .c program, runs both test scripts, and then 
   diffs their output to make sure it's identical.

   Right now, test.t is identical in every directory.  This sucks somewhat.
   It should either be a symlink to a common script