tokkee.org
Code
projects
/
nagiosplug.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
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
2
3
use warnings;
4
use strict;
5
6
use Test::More;
7
8
my $rc = 0;
9
10
$rc = plan tests => 2;
11
diag("Returned: " . sprintf('%d', $rc));
12
13
$rc = fail('test to fail');
14
diag("Returned: $rc");
15
16
$rc = fail('test to fail with extra string');
17
diag("Returned: $rc");