Code

Add Libtap as a bundled library (does not change any behaviour without --enable-libtap)
[nagiosplug.git] / tap / tests / fail / test.pl
1 #!/usr/bin/perl
3 use warnings;
4 use strict;
6 use Test::More;
8 my $rc = 0;
10 $rc = plan tests => 2;
11 diag("Returned: " . sprintf('%d', $rc));
13 $rc = fail('test to fail');
14 diag("Returned: $rc");
16 $rc = fail('test to fail with extra string');
17 diag("Returned: $rc");