summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristoph M. Becker <cmb@php.net>2015-07-31 19:52:42 +0200
committerChristoph M. Becker <cmb@php.net>2015-07-31 19:52:42 +0200
commit6576d809a547b481fecfa8afff1d2ee519a85057 (patch)
treea44d8ff95f5ced544bc0a5a8ecce690aedc4dd31
parentcdabbd9542a41bb2a1ce3b1d85b88003e0a1a19c (diff)
downloadphp-git-6576d809a547b481fecfa8afff1d2ee519a85057.tar.gz
test fails with old libxml2; skip in this case
-rw-r--r--ext/dom/tests/node_textcontent.phpt5
1 files changed, 4 insertions, 1 deletions
diff --git a/ext/dom/tests/node_textcontent.phpt b/ext/dom/tests/node_textcontent.phpt
index a731a264aa..e4696914f9 100644
--- a/ext/dom/tests/node_textcontent.phpt
+++ b/ext/dom/tests/node_textcontent.phpt
@@ -1,7 +1,10 @@
--TEST--
Testing reading and writing to DOMNode::textContent
--SKIPIF--
-<?php require_once('skipif.inc'); ?>
+<?php
+require_once('skipif.inc');
+if (LIBXML_VERSION < 20707) die ('skip requires libxml2-2.7.7 or higher');
+?>
--FILE--
<?php