Skip to content

The gh11374 test fails on Alpinelinux #12628

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
andypost opened this issue Nov 8, 2023 · 1 comment
Closed

The gh11374 test fails on Alpinelinux #12628

andypost opened this issue Nov 8, 2023 · 1 comment

Comments

@andypost
Copy link
Contributor

andypost commented Nov 8, 2023

Description

After following commit 83a505e added the test but it appears broken on Alpinelinux

Resulted in this output:

========DIFF========
+ bool(false)
- bool(true)
     Array
     (
         [0] => Array
--
             )
     
         [2] => Array
024+             [0] => a
                 [0] => 
025+             [1] => 1
024-             [0] => 
025-             [1] => -1
             )
     
         [3] => Array
--

PHP Version

PHP 8.2.13RC1

Operating System

Alpinelinux

@nielsdos
Copy link
Member

nielsdos commented Nov 8, 2023

This is because PHP is running ahead with pcre fixes. The test needs to be skipped if the pcre version is <=1.42 and the pcre version used is not bundled. Unfortunately we don't expose bundle information to userland. So we have to fix this probably by using zend_test to expose the information.
@andypost please try #12629

@nielsdos nielsdos linked a pull request Nov 8, 2023 that will close this issue
nielsdos added a commit that referenced this issue Nov 9, 2023
* PHP-8.1:
  Fix GH-12633: sqlite3_defensive.phpt fails with sqlite 3.44.0
  Fix GH-12628: The gh11374 test fails on Alpinelinux
nielsdos added a commit that referenced this issue Nov 9, 2023
* PHP-8.2:
  Fix GH-12633: sqlite3_defensive.phpt fails with sqlite 3.44.0
  Fix GH-12628: The gh11374 test fails on Alpinelinux
nielsdos added a commit that referenced this issue Nov 9, 2023
* PHP-8.3:
  Fix GH-12633: sqlite3_defensive.phpt fails with sqlite 3.44.0
  Fix GH-12628: The gh11374 test fails on Alpinelinux
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants