mirror of
https://github.com/monitoring-plugins/monitoring-plugins.git
synced 2026-04-15 22:00:06 -04:00
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
16 lines
260 B
Perl
16 lines
260 B
Perl
#!/usr/bin/perl
|
|
|
|
use warnings;
|
|
use strict;
|
|
|
|
use Test::More;
|
|
|
|
my $rc = 0;
|
|
|
|
plan tests => 2;
|
|
|
|
$rc = diag("A diagnostic message");
|
|
diag("Returned: $rc");
|
|
|
|
ok(1, 'test 1') or diag "ok() failed, and shouldn't";
|
|
ok(0, 'test 2') or diag "ok() passed, and shouldn't";
|