Code

Import the environ module from gnulib (86ba51)
[nagiosplug.git] / tap / tests / diag / test.pl
1 #!/usr/bin/perl
3 use warnings;
4 use strict;
6 use Test::More;
8 my $rc = 0;
10 plan tests => 2;
12 $rc = diag("A diagnostic message");
13 diag("Returned: $rc");
15 ok(1, 'test 1') or diag "ok() failed, and shouldn't";
16 ok(0, 'test 2') or diag "ok() passed, and shouldn't";