mirror of
https://github.com/monitoring-plugins/monitoring-plugins.git
synced 2026-04-22 22:56:58 -04:00
18 lines
260 B
Perl
18 lines
260 B
Perl
|
|
#!/usr/bin/perl
|
||
|
|
|
||
|
|
use warnings;
|
||
|
|
use strict;
|
||
|
|
|
||
|
|
use Test::More;
|
||
|
|
|
||
|
|
my $rc = 0;
|
||
|
|
|
||
|
|
$rc = plan tests => 2;
|
||
|
|
diag("Returned: " . sprintf('%d', $rc));
|
||
|
|
|
||
|
|
$rc = pass('test to pass');
|
||
|
|
diag("Returned: $rc");
|
||
|
|
|
||
|
|
$rc = pass('test to pass with extra string');
|
||
|
|
diag("Returned: $rc");
|