summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXinchen Hui <laruence@php.net>2011-09-06 09:29:04 +0000
committerXinchen Hui <laruence@php.net>2011-09-06 09:29:04 +0000
commitdf2504b0ff5596192debc2cce1ab76929c395a08 (patch)
tree96c92fddcb239b76e196e38902257d9464a20738
parent423816ef64ebec79146d3dffcfcbbc494e897ee0 (diff)
downloadphp-git-df2504b0ff5596192debc2cce1ab76929c395a08.tar.gz
Add skipif
-rw-r--r--ext/hash/tests/hash_copy_001.phpt2
-rw-r--r--ext/hash/tests/hash_copy_002.phpt2
2 files changed, 4 insertions, 0 deletions
diff --git a/ext/hash/tests/hash_copy_001.phpt b/ext/hash/tests/hash_copy_001.phpt
index ffc87c3a8f..35d50a5cd9 100644
--- a/ext/hash/tests/hash_copy_001.phpt
+++ b/ext/hash/tests/hash_copy_001.phpt
@@ -1,5 +1,7 @@
--TEST--
hash_copy() basic tests
+--SKIPIF--
+<?php extension_loaded('hash') or die('skip'); ?>
--FILE--
<?php
diff --git a/ext/hash/tests/hash_copy_002.phpt b/ext/hash/tests/hash_copy_002.phpt
index 77cbca426f..aac4c3bdd8 100644
--- a/ext/hash/tests/hash_copy_002.phpt
+++ b/ext/hash/tests/hash_copy_002.phpt
@@ -1,5 +1,7 @@
--TEST--
hash_copy() errors
+--SKIPIF--
+<?php extension_loaded('hash') or die('skip'); ?>
--FILE--
<?php