mirror of
https://github.com/monitoring-plugins/monitoring-plugins.git
synced 2026-03-22 02:20:08 -04:00
script tests: fix relative lib path in utils test
utils.pm uses relative include ".." but the path is relativ to the current folder, so it does not work when running "perl t/utils.t". Just add another lib of "." fixes that. We could use FindBin but we don't want to make it unnecessarily complicated. Signed-off-by: Sven Nierlein <sven@nierlein.de>
This commit is contained in:
parent
77aa6d4ebf
commit
4acddec00a
1 changed files with 1 additions and 0 deletions
|
|
@ -10,6 +10,7 @@ use strict;
|
|||
use Test::More;
|
||||
use NPTest;
|
||||
|
||||
use lib ".";
|
||||
use lib "..";
|
||||
use utils;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue