1--TEST-- 2OpenMP segfault hacks 3 4--INI-- 5imagick.shutdown_sleep_count=20 6imagick.set_single_thread=1 7--SKIPIF-- 8<?php 9 10 11require_once(dirname(__FILE__) . '/skipif.inc'); 12 13?> 14--FILE-- 15<?php 16 17 18$sleepCount = intval(ini_get('imagick.shutdown_sleep_count')); 19$setSingleThread = ini_get('imagick.set_single_thread'); 20 21if ($sleepCount != 20) { 22 echo "imagick.shutdown_sleep_count is not set to 10 but instead " . var_export($sleepCount, true) ."\n"; 23} 24 25if ($setSingleThread != 1) { 26 echo "imagick.set_single_thread setting is not true but instead " . var_export($setSingleThread, true) ."\n"; 27} 28 29 30echo "Complete".PHP_EOL; 31?> 32--EXPECTF-- 33Complete 34