nagios4/tap/tests/plan/too-many-plans/test.pl

21 lines
259 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 = plan tests => 1;
diag("Returned: $rc");
$rc = ok(0);
diag("Returned: $rc");