nagios4/tap/tests/plan/not-enough-tests/test.pl

21 lines
249 B
Perl
Raw 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 => 1;
diag("Returned: " . sprintf("%d", $rc));
$rc = ok(1);
diag("Returned: $rc");
$rc = ok(1);
diag("Returned: $rc");
$rc = ok(1);
diag("Returned: $rc");