aboutsummaryrefslogtreecommitdiffstats
path: root/community/php7-pecl-msgpack/7c1eb7f70b82bcf611bebc9a9cfd88d5832443a1.patch
blob: 49068139f9a862c21cc9c95645f05fdf188bcc50 (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
From 7c1eb7f70b82bcf611bebc9a9cfd88d5832443a1 Mon Sep 17 00:00:00 2001
From: Aaron Stone <aaron@serendipity.cx>
Date: Thu, 29 Mar 2018 15:13:21 -0700
Subject: [PATCH] The random data tests are known to parse as data in PHP 7.1+

---
 tests/040.phpt  | 4 ++++
 tests/040b.phpt | 4 ++++
 tests/040c.phpt | 4 ++++
 tests/040d.phpt | 4 ++++
 4 files changed, 16 insertions(+)

diff --git a/tests/040.phpt b/tests/040.phpt
index 5b397d3..ca1f923 100644
--- a/tests/040.phpt
+++ b/tests/040.phpt
@@ -1,6 +1,10 @@
 --TEST--
 broken random data test
 --SKIPIF--
+<?php
+if (version_compare(PHP_VERSION, '7.1.0', 'ge')) {
+    echo "skip known to produce odd data in PHP 7.1+";
+}
 --FILE--
 <?php
 if(!extension_loaded('msgpack')) {
diff --git a/tests/040b.phpt b/tests/040b.phpt
index ea048af..ff50e6e 100644
--- a/tests/040b.phpt
+++ b/tests/040b.phpt
@@ -1,6 +1,10 @@
 --TEST--
 broken random data test : MessagePack class
 --SKIPIF--
+<?php
+if (version_compare(PHP_VERSION, '7.1.0', 'ge')) {
+    echo "skip known to produce odd data in PHP 7.1+";
+}
 --FILE--
 <?php
 if(!extension_loaded('msgpack')) {
diff --git a/tests/040c.phpt b/tests/040c.phpt
index bd882fa..bf15b96 100644
--- a/tests/040c.phpt
+++ b/tests/040c.phpt
@@ -1,6 +1,10 @@
 --TEST--
 broken random data test : MessagePackUnpacker::feed
 --SKIPIF--
+<?php
+if (version_compare(PHP_VERSION, '7.1.0', 'ge')) {
+    echo "skip known to produce odd data in PHP 7.1+";
+}
 --FILE--
 <?php
 if(!extension_loaded('msgpack')) {
diff --git a/tests/040d.phpt b/tests/040d.phpt
index de4c01d..22ddb57 100644
--- a/tests/040d.phpt
+++ b/tests/040d.phpt
@@ -1,6 +1,10 @@
 --TEST--
 broken random data test : MessagePackUnpacker::execute
 --SKIPIF--
+<?php
+if (version_compare(PHP_VERSION, '7.1.0', 'ge')) {
+    echo "skip known to produce odd data in PHP 7.1+";
+}
 --FILE--
 <?php
 if(!extension_loaded('msgpack')) {