com php-src: skip test when xml not available: ext/openssl/tests/bug68912.phpt
| From: | Remi Collet | Date: | Fri, 17 Apr 2015 13:20:22 +0000 |
| Subject: | com php-src: skip test when xml not available: ext/openssl/tests/bug68912.phpt | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-86349@lists.php.net to get a copy of this message | ||
Commit: 342acbe1c6f1c01ef994cd1084165967fc6618a7
Author: Remi Collet <remi@php.net> Fri, 17 Apr 2015 15:20:22 +0200
Parents: 25e45a935036d1bc69ed5dda323c09ab1f160d6e
Branches: PHP-5.6 master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=342acbe1c6f1c01ef994cd1084165967fc6618a7
Log:
skip test when xml not available
Changed paths:
M ext/openssl/tests/bug68912.phpt
Diff:
diff --git a/ext/openssl/tests/bug68912.phpt b/ext/openssl/tests/bug68912.phpt
index 7d763db..c18291a 100644
--- a/ext/openssl/tests/bug68912.phpt
+++ b/ext/openssl/tests/bug68912.phpt
@@ -3,6 +3,7 @@ Bug #68912 (Segmentation fault at openssl_spki_new)
--SKIPIF--
<?php
if (!extension_loaded("openssl")) die("skip");
+if (!extension_loaded("xml")) die("skip xml extension not loaded");
if (!@openssl_pkey_new()) die("skip cannot create private key");
?>
--FILE--