nagios4/t-tap/test_each.t

8 lines
187 B
Perl
Raw Permalink Normal View History

2017-05-19 22:22:40 +02:00
#!/usr/bin/perl
use Test::More;
$_ = shift @ARGV or die "Must specify a file";
if (! -e "$_") {
plan skip_all => "$_ not compiled - please install tap library to test";
}
system "./$_";