From e06f868b62e31f51abded1ec80646d472525c58d Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Fri, 21 Jul 2023 14:49:43 +0200 Subject: build out of sources tree add patch for test suite with PHP 8.3 from https://github.com/php/pecl-database-dbase/pull/2 --- dbase-tests.patch | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) (limited to 'dbase-tests.patch') diff --git a/dbase-tests.patch b/dbase-tests.patch index 7d2f09f..f8b14cc 100644 --- a/dbase-tests.patch +++ b/dbase-tests.patch @@ -33,3 +33,23 @@ index e2a0b4c..5d6e3bd 100644 -unlink(FILENAME); +@unlink(FILENAME); ?> +From 89fdec1c6c9ea3b6284973cb5459d0ef3e5ef8bd Mon Sep 17 00:00:00 2001 +From: Remi Collet +Date: Fri, 21 Jul 2023 14:45:36 +0200 +Subject: [PATCH] relax test for 8.3 bool vs false in error message + +--- + tests/bug78668_8.phpt | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/tests/bug78668_8.phpt b/tests/bug78668_8.phpt +index 0657e51..811dfe1 100644 +--- a/tests/bug78668_8.phpt ++++ b/tests/bug78668_8.phpt +@@ -18,5 +18,5 @@ try { + ===DONE=== + --EXPECTF-- + Warning: dbase_open(): unable to open database %s on line %d +-dbase_get_header_info(): Argument #1 ($database) must be of type resource, bool given ++dbase_get_header_info(): Argument #1 ($database) must be of type resource, %s given + ===DONE=== -- cgit