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 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47
|
From: Prach Pongpanich <prachpub@gmail.com>
Date: Sun, 5 Oct 2014 01:06:02 +0700
Subject: Fix include path for tests
---
Mail-1.2.0/tests/9137.phpt | 2 +-
Mail-1.2.0/tests/9137_2.phpt | 2 +-
Mail-1.2.0/tests/validateQuotedString.php | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/Mail-1.2.0/tests/9137.phpt b/Mail-1.2.0/tests/9137.phpt
index ba54c05..a71dfc0 100755
--- a/Mail-1.2.0/tests/9137.phpt
+++ b/Mail-1.2.0/tests/9137.phpt
@@ -3,7 +3,7 @@ Mail: Test for bug #9137
--FILE--
<?php
-require_once dirname(__FILE__) . '/../Mail/RFC822.php';
+require_once 'Mail/RFC822.php';
require_once 'PEAR.php';
$addresses = array(
diff --git a/Mail-1.2.0/tests/9137_2.phpt b/Mail-1.2.0/tests/9137_2.phpt
index cc9dcbc..fdf42a8 100755
--- a/Mail-1.2.0/tests/9137_2.phpt
+++ b/Mail-1.2.0/tests/9137_2.phpt
@@ -3,7 +3,7 @@ Mail: Test for bug #9137, take 2
--FILE--
<?php
-require_once dirname(__FILE__) . '/../Mail/RFC822.php';
+require_once 'Mail/RFC822.php';
require_once 'PEAR.php';
$addresses = array(
diff --git a/Mail-1.2.0/tests/validateQuotedString.php b/Mail-1.2.0/tests/validateQuotedString.php
index bc9a8f4..4e6bfe1 100755
--- a/Mail-1.2.0/tests/validateQuotedString.php
+++ b/Mail-1.2.0/tests/validateQuotedString.php
@@ -1,5 +1,5 @@
<?php
-require_once '../Mail/RFC822.php';
+require_once 'Mail/RFC822.php';
$address_string = '"Joe Doe \(from Somewhere\)" <doe@example.com>, postmaster@example.com, root';
// $address_string = "Joe Doe from Somewhere <doe@example.com>, postmaster@example.com, root";
echo $address_string . "\n";
|