diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/014-stream.phpt | 5 |
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"; |