summaryrefslogtreecommitdiffstats
path: root/4.patch
blob: e8acd50f8797d20c0c719472864795957a6b06bf (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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
From 1225c9240e0e368dad6ccc5f618e000560b4925d Mon Sep 17 00:00:00 2001
From: Remi Collet <remi@remirepo.net>
Date: Tue, 26 Jun 2018 15:22:42 +0200
Subject: [PATCH] relax tests for 7.3 (bool/boolean, main/count)

---
 tests/002.phpt | 2 +-
 tests/003.phpt | 2 +-
 tests/008.phpt | 2 +-
 tests/079.phpt | 4 ++--
 tests/092.phpt | 4 ++--
 5 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/tests/002.phpt b/tests/002.phpt
index f90617a..358aba8 100644
--- a/tests/002.phpt
+++ b/tests/002.phpt
@@ -163,6 +163,6 @@ array(2) {
 
 Warning: rar_open(): Failed to open %s: ERAR_EOPEN (file open error) in %s on line %d
 
-Warning: rar_list() expects parameter 1 to be RarArchive, boolean given in %s on line %d
+Warning: rar_list() expects parameter 1 to be RarArchive, boo%s given in %s on line %d
 NULL
 Done
diff --git a/tests/003.phpt b/tests/003.phpt
index 2f0a6df..9b77d2f 100644
--- a/tests/003.phpt
+++ b/tests/003.phpt
@@ -89,6 +89,6 @@ object(RarEntry)#%d (%d) {
 
 Warning: rar_open(): Failed to open %s: ERAR_EOPEN (file open error) in %s on line %d
 
-Warning: rar_entry_get() expects parameter 1 to be RarArchive, boolean given in %s on line %d
+Warning: rar_entry_get() expects parameter 1 to be RarArchive, boo%s given in %s on line %d
 NULL
 Done
diff --git a/tests/008.phpt b/tests/008.phpt
index f79c97a..f864c97 100644
--- a/tests/008.phpt
+++ b/tests/008.phpt
@@ -28,7 +28,7 @@ bool(false)
 
 Warning: rar_open(): Failed to open %s: ERAR_EOPEN (file open error) in %s on line %d
 
-Warning: rar_entry_get() expects parameter 1 to be RarArchive, boolean given in %s on line %d
+Warning: rar_entry_get() expects parameter 1 to be RarArchive, boo%s given in %s on line %d
 NULL
 
 Done
diff --git a/tests/079.phpt b/tests/079.phpt
index f243b85..0ee005a 100644
--- a/tests/079.phpt
+++ b/tests/079.phpt
@@ -48,12 +48,12 @@ Count: 13
 
 * Closed file test (1):
 
-Warning: count(): The archive is already closed in %s on line %d
+Warning: %s(): The archive is already closed in %s on line %d
 int(0)
 
 * Closed file test (2):
 
-Warning: count(): The archive is already closed in %s on line %d
+Warning: %s(): The archive is already closed in %s on line %d
 int(0)
 
 * Closed file test (3, exceptions):
diff --git a/tests/092.phpt b/tests/092.phpt
index 39b8331..6ddd6f2 100644
--- a/tests/092.phpt
+++ b/tests/092.phpt
@@ -54,7 +54,7 @@ Warning: rar_allow_broken_set() expects exactly 2 parameters, 1 given in %s on l
 Warning: RarArchive::getEntries(): ERAR_EOPEN (file open error) in %s on line %d
 bool(false)
 
-Warning: count(): ERAR_EOPEN (file open error) in %s on line %d
+Warning: %s(): ERAR_EOPEN (file open error) in %s on line %d
 int(0)
 
 * broken file; do not allow broken (explicit)
@@ -62,7 +62,7 @@ int(0)
 Warning: RarArchive::getEntries(): ERAR_EOPEN (file open error) in %s on line %d
 bool(false)
 
-Warning: count(): ERAR_EOPEN (file open error) in %s on line %d
+Warning: %s(): ERAR_EOPEN (file open error) in %s on line %d
 int(0)
 
 * broken file; allow broken