mirror of
https://github.com/munin-monitoring/contrib.git
synced 2025-07-21 18:41:03 +00:00
Use eval EXPR to load Munin::Plugin, for automated tests
This commit is contained in:
parent
76e4b0332c
commit
ac8db54cb1
1 changed files with 5 additions and 1 deletions
|
@ -64,7 +64,11 @@
|
|||
#%# capabilities=autoconf suggest
|
||||
|
||||
use strict;
|
||||
use Munin::Plugin;
|
||||
|
||||
# Need to use eval EXPR here. "-T" is used on the command line, and
|
||||
# munin is not installable in a reasonable way for automated testing.
|
||||
eval 'use Munin::Plugin; 1;' or die 'Please install Munin::Plugin';
|
||||
|
||||
use File::Basename;
|
||||
use IO::Socket::UNIX qw(SOCK_STREAM);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue