From 4acddec00a0b9fab4f8dd51cf8a57d3c0f9efd9b Mon Sep 17 00:00:00 2001 From: Sven Nierlein Date: Mon, 13 Mar 2017 13:27:03 +0100 Subject: 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 diff --git a/plugins-scripts/t/utils.t b/plugins-scripts/t/utils.t index 9c2c569..5c23179 100644 --- a/plugins-scripts/t/utils.t +++ b/plugins-scripts/t/utils.t @@ -10,6 +10,7 @@ use strict; use Test::More; use NPTest; +use lib "."; use lib ".."; use utils; -- cgit v0.10-9-g596f