Skip to content

Commit b143bd1

Browse files
committed
Skip this test on AIX even with var set
AIX adjusts the top address of the stack on the main thread in an unpredictable way, and this is used to calculate the size for the main thread.
1 parent 25674ce commit b143bd1

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

‎Zend/tests/stack_limit/stack_limit_010.phpt‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@ Stack limit 010 - Check stack size detection against known defaults
44
zend_test
55
--SKIPIF--
66
<?php
7+
if (PHP_OS_FAMILY == "AIX") {
8+
die("skip AIX adjusts top of stack (used for size) in unpredictable way");
9+
}
710
if (!function_exists('zend_test_zend_call_stack_get')) die("skip zend_test_zend_call_stack_get() is not available");
811
if (!getenv('STACK_LIMIT_DEFAULTS_CHECK')) { die('skip STACK_LIMIT_DEFAULTS_CHECK not set'); }
912
?>

0 commit comments

Comments
 (0)