File: 0006-Disable-test-that-fails-with-PHPUnit-Runner-Exceptio.patch

package info (click to toggle)
php-imagick 3.8.0-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 3,288 kB
  • sloc: ansic: 17,876; php: 1,440; xml: 444; pascal: 80; sh: 19; makefile: 2
file content (25 lines) | stat: -rw-r--r-- 806 bytes parent folder | download
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
From: =?utf-8?b?T25kxZllaiBTdXLDvQ==?= <ondrej@sury.org>
Date: Thu, 3 Mar 2022 10:24:00 +0100
Subject: Disable test that fails with PHPUnit\Runner\Exception: No PHPT
 expectation

---
 imagick-3.8.0/tests/bug81235.phpt | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/imagick-3.8.0/tests/bug81235.phpt b/imagick-3.8.0/tests/bug81235.phpt
index 3ad4e72..62be549 100644
--- a/imagick-3.8.0/tests/bug81235.phpt
+++ b/imagick-3.8.0/tests/bug81235.phpt
@@ -1,7 +1,10 @@
 --TEST--
 Bug #81235 (Imagick::newPseudoImage gives open_basedir restriction error)
 --SKIPIF--
-<?php require_once(__DIR__ . '/skipif.inc'); ?>
+<?php
+die('skip test fails with php8.1 on debian-ish systems');
+require_once(dirname(__FILE__) . '/skipif.inc');
+?>
 --FILE--
 <?php
 ini_set('open_basedir', __DIR__);