Skip to content

Commit 3e374a1

Browse files
committed
Add tests patches
1 parent bd01d89 commit 3e374a1

File tree

2 files changed

+54
-0
lines changed

2 files changed

+54
-0
lines changed

patches/8.4/tests.patch

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
From: Peter Kokot <[email protected]>
2+
Subject: Fix tests
3+
4+
- ext/dom
5+
- When running tests from a directory located inside php-src, for
6+
example, php-src/php-build relative paths need to be adjusted.
7+
---
8+
ext/dom/tests/dom_xinclude.phpt | 4 ++--
9+
1 file changed, 2 insertions(+), 2 deletions(-)
10+
11+
diff --git a/ext/dom/tests/dom_xinclude.phpt b/ext/dom/tests/dom_xinclude.phpt
12+
index 0dfeb2dfb4a..410431de877 100644
13+
--- a/ext/dom/tests/dom_xinclude.phpt
14+
+++ b/ext/dom/tests/dom_xinclude.phpt
15+
@@ -48,10 +48,10 @@
16+
#text
17+
<?xml version="1.0" encoding="UTF-8"?>
18+
<foo xmlns:xi="http://www.w3.org/2001/XInclude">
19+
- <book xml:base="compress.zlib://./ext/dom/tests/book.xml">
20+
+ <book xml:base="compress.zlib://%s/ext/dom/tests/book.xml">
21+
<title>The Grapes of Wrath</title>
22+
<author>John Steinbeck</author>
23+
- </book><book xml:base="compress.zlib://./ext/dom/tests/book.xml">
24+
+ </book><book xml:base="compress.zlib://%s/ext/dom/tests/book.xml">
25+
<title>The Pearl</title>
26+
<author>John Steinbeck</author>
27+
</book>

patches/8.5/tests.patch

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
From: Peter Kokot <[email protected]>
2+
Subject: Fix tests
3+
4+
- ext/dom
5+
- When running tests from a directory located inside php-src, for
6+
example, php-src/php-build relative paths need to be adjusted.
7+
---
8+
ext/dom/tests/dom_xinclude.phpt | 4 ++--
9+
1 file changed, 2 insertions(+), 2 deletions(-)
10+
11+
diff --git a/ext/dom/tests/dom_xinclude.phpt b/ext/dom/tests/dom_xinclude.phpt
12+
index 0dfeb2dfb4a..410431de877 100644
13+
--- a/ext/dom/tests/dom_xinclude.phpt
14+
+++ b/ext/dom/tests/dom_xinclude.phpt
15+
@@ -48,10 +48,10 @@
16+
#text
17+
<?xml version="1.0" encoding="UTF-8"?>
18+
<foo xmlns:xi="http://www.w3.org/2001/XInclude">
19+
- <book xml:base="compress.zlib://./ext/dom/tests/book.xml">
20+
+ <book xml:base="compress.zlib://%s/ext/dom/tests/book.xml">
21+
<title>The Grapes of Wrath</title>
22+
<author>John Steinbeck</author>
23+
- </book><book xml:base="compress.zlib://./ext/dom/tests/book.xml">
24+
+ </book><book xml:base="compress.zlib://%s/ext/dom/tests/book.xml">
25+
<title>The Pearl</title>
26+
<author>John Steinbeck</author>
27+
</book>

0 commit comments

Comments
 (0)