Skip to content

Commit 2346e5c

Browse files
committed
Fix tests - some functions are platform dependent
1 parent 5b671b6 commit 2346e5c

File tree

3 files changed

+10
-0
lines changed

3 files changed

+10
-0
lines changed

ext/readline/tests/bug72538.phpt

+4
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22
Bug #72538 (readline_redisplay crashes php)
33
--EXTENSIONS--
44
readline
5+
--SKIPIF--
6+
<?php
7+
if (!function_exists("readline_redisplay")) die("skip readline_redisplay not available");
8+
?>
59
--FILE--
610
<?php
711

ext/readline/tests/libedit_callback_handler_install_001.phpt

+2
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@ readline_callback_handler_install(): Basic test
33
lsan disabled due to a leak on ubuntu focal only.
44
--EXTENSIONS--
55
readline
6+
--SKIPIF--
7+
<?php if (!function_exists('readline_callback_handler_install')) die("skip readline_callback_handler_install not available"); ?>
68
--INI--
79
zend.signal_check=0
810
--ENV--

ext/readline/tests/libedit_callback_handler_remove_001.phpt

+4
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,10 @@ readline_callback_handler_remove(): Basic test
33
lsan disabled due to a leak on ubuntu focal only.
44
--EXTENSIONS--
55
readline
6+
--SKIPIF--
7+
<?php
8+
if (!function_exists('readline_callback_handler_remove')) die("skip readline_callback_handler_remove not available");
9+
?>
610
--INI--
711
zend.signal_check=0
812
--ENV--

0 commit comments

Comments
 (0)