summaryrefslogtreecommitdiff
path: root/ext/phar/tests/phar_setsignaturealgo1.phpt
diff options
context:
space:
mode:
authorHannes Magnusson <bjori@php.net>2010-04-27 08:17:17 +0000
committerHannes Magnusson <bjori@php.net>2010-04-27 08:17:17 +0000
commit56970e11e5b4de8e1b1b99bbe2691b532a77441f (patch)
tree22284c4997eba0bdbe2f9ef230258bc982392574 /ext/phar/tests/phar_setsignaturealgo1.phpt
parent6f6909e582c80a4fcc8283ccebc435b4253e3bea (diff)
downloadphp-git-56970e11e5b4de8e1b1b99bbe2691b532a77441f.tar.gz
Fix test
Diffstat (limited to 'ext/phar/tests/phar_setsignaturealgo1.phpt')
-rw-r--r--ext/phar/tests/phar_setsignaturealgo1.phpt1
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/phar/tests/phar_setsignaturealgo1.phpt b/ext/phar/tests/phar_setsignaturealgo1.phpt
index edc032e7be..eacee7bb80 100644
--- a/ext/phar/tests/phar_setsignaturealgo1.phpt
+++ b/ext/phar/tests/phar_setsignaturealgo1.phpt
@@ -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