nagios4/tap/tests/ok/ok-numeric/test.pl

22 lines
283 B
Perl
Raw Permalink Normal View History

2017-05-19 22:22:40 +02:00
#!/usr/bin/perl
use warnings;
use strict;
use Test::More;
my $rc = 0;
$rc = plan tests => 3;
diag("Returned: " . sprintf("%d", $rc));
$rc = ok(1, 'First test');
diag("Returned: $rc");
$rc = ok(1, '1');
diag("Returned: $rc");
$rc = ok(1, 'Third test');
diag("Returned: $rc");