Skip to content

Commit

Permalink
Fix phar/tests/bug77432.phpt
Browse files Browse the repository at this point in the history
- For Windows we just have to set the right error_reporting value
- Test cannot be used repeatedly on Opcache because the unlink will have
  no effect because of caching.

Closes GH-13129.
  • Loading branch information
nielsdos committed Jan 12, 2024
1 parent b04b09e commit 5a988d5
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions ext/phar/tests/bug77432.phpt
@@ -1,14 +1,10 @@
--TEST--
Bug #77432 (Segmentation fault on including phar file)
--SKIPIF--
<?php
if (PHP_OS_FAMILY === "Windows") {
die('skip not for Windows');
}
?>
--EXTENSIONS--
phar
--INI--
opcache.enable=0
error_reporting=-1
phar.readonly=0
--FILE--
<?php
Expand Down

0 comments on commit 5a988d5

Please sign in to comment.