com php-src: Fixed test (it requires ext/hash): ext/session/tests/031.phpt

From: Date: Thu, 10 Apr 2014 08:14:11 +0000
Subject: com php-src: Fixed test (it requires ext/hash): ext/session/tests/031.phpt
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-77440@lists.php.net to get a copy of this message
Commit: 23aecd1736c4457418a7eabdfedc2dee690c4346 Author: Dmitry Stogov <dmitry@zend.com> Thu, 10 Apr 2014 12:14:11 +0400 Parents: 0ae14f3a1d946feb7e3c6662377e5521475297f5 Branches: phpng Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=23aecd1736c4457418a7eabdfedc2dee690c4346 Log: Fixed test (it requires ext/hash) Changed paths: M ext/session/tests/031.phpt Diff: diff --git a/ext/session/tests/031.phpt b/ext/session/tests/031.phpt index e8deb3d..7486c4b 100644 --- a/ext/session/tests/031.phpt +++ b/ext/session/tests/031.phpt @@ -2,6 +2,7 @@ setting hash_function to sha512 and hash_bits_per_character > 4 should not crash --SKIPIF-- <?php include('skipif..inc'); ?> +<?php if (!extension_loaded('hash')) die('skip hash extension not available'); ?> --INI-- session.use_cookies=0 session.cache_limiter=

« previous php.cvs (#77440) next »