Files
poky/meta/recipes-devtools/perl/perl/ext-ODBM_File-t-odbm.t-fix-the-path-of-dbmt_common.p.patch
Robert Yang f4248c6a69 perl: odbm.t: fix the path of dbmt_common.pl
It should be ../t/lib/dbmt_common.pl.

Fixed:
Can't locate ../../t/lib/dbmt_common.pl in @INC

(From OE-Core rev: d261f4254b049276c086bc05adb068deb331e1d5)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-07-01 15:39:58 +01:00

32 lines
807 B
Diff

From b842e1de7798a1f7df770bb3f185ad3356e490e6 Mon Sep 17 00:00:00 2001
From: Robert Yang <liezhi.yang@windriver.com>
Date: Mon, 22 Jun 2015 20:06:56 -0700
Subject: [PATCH] ext/ODBM_File/t/odbm.t: fix the path of dbmt_common.pl
It should be lib/dbmt_common.pl when run by run-ptest.
Fixed:
Can't locate ../../t/lib/dbmt_common.pl in @INC
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
---
ext/ODBM_File/t/odbm.t | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/ext/ODBM_File/t/odbm.t b/ext/ODBM_File/t/odbm.t
index 079b9f1..250b991 100644
--- a/ext/ODBM_File/t/odbm.t
+++ b/ext/ODBM_File/t/odbm.t
@@ -2,7 +2,7 @@
our $DBM_Class = 'ODBM_File';
-require '../../t/lib/dbmt_common.pl';
+require 'lib/dbmt_common.pl';
if ($^O eq 'hpux') {
print <<EOM;
--
1.7.9.5