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

From: Date: Tue, 06 May 2014 22:52:49 +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-78160@lists.php.net to get a copy of this message
Commit: 8517001b259f1e8e540ee45cf15cf0312ca14098 Author: Dmitry Stogov <dmitry@zend.com> Thu, 10 Apr 2014 12:14:11 +0400 Committer: Ferenc Kovacs <tyrael@php.net> Wed, 7 May 2014 00:52:49 +0200 Parents: f880013c4d0a65baa104c19cd8058a970295eb80 Branches: PHP-5.4 Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=8517001b259f1e8e540ee45cf15cf0312ca14098 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 (#78160) next »