]> granicus.if.org Git - php/commitdiff
Fix test
authorHannes Magnusson <bjori@php.net>
Tue, 27 Apr 2010 08:17:17 +0000 (08:17 +0000)
committerHannes Magnusson <bjori@php.net>
Tue, 27 Apr 2010 08:17:17 +0000 (08:17 +0000)
ext/phar/tests/phar_setsignaturealgo1.phpt

index edc032e7bef652627838afe2b53183e71177a1e6..eacee7bb808d6c9511f897ac227a2bb68e25514b 100644 (file)
@@ -3,6 +3,7 @@ Phar::setSignatureAlgorithm()
 --SKIPIF--
 <?php if (!extension_loaded("phar")) die("skip"); ?>
 <?php if ( extension_loaded("hash")) die("skip extension hash conflicts"); ?>
+<?php if (!defined("Phar::PGP")) die("skip PGP Signature algorithm not available"); ?>
 --INI--
 phar.require_hash=0
 phar.readonly=0