summaryrefslogtreecommitdiffstats
path: root/tests/014-stream.phpt
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2023-10-12 14:12:40 +0200
committerRemi Collet <remi@php.net>2023-10-12 14:12:40 +0200
commit16192a25a02e72eee26009f47bf85e0644ac3daf (patch)
tree0eb1cc1e384cc21cb803abb19968d24c4d28c665 /tests/014-stream.phpt
parent9104d986ab93577575eab6cc7c750b1adb84b46a (diff)
stream require librpm 4.13
Diffstat (limited to 'tests/014-stream.phpt')
-rw-r--r--tests/014-stream.phpt5
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/014-stream.phpt b/tests/014-stream.phpt
index 5a4fefa..e8650f7 100644
--- a/tests/014-stream.phpt
+++ b/tests/014-stream.phpt
@@ -1,7 +1,10 @@
--TEST--
Check for stream
--SKIPIF--
-<?php if (!extension_loaded("rpminfo")) print "skip"; ?>
+<?php
+if (!extension_loaded("rpminfo")) print "skip";
+if (version_compare(RPMVERSION, '4.13', 'lt')) print("skip librpm is older than 4.13");
+?>
--FILE--
<?php
$n = "rpm://" . __DIR__ . "/bidon.rpm#/usr/share/doc/bidon/README";