aboutsummaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/perl/perl/ext-ODBM_File-t-odbm.t-fix-the-path-of-dbmt_common.p.patch
blob: 163ad01faf2a3b9874d2afdb46f2a013508a7b12 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
From 1d5c1f0d6d63e7d7038f4ffd2d30845f657ff9dc 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>

Upstream-Status: Pending

---
 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..e996f99 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;