diff options
Diffstat (limited to 'tests/008-rpmdbsearch.phpt')
| -rw-r--r-- | tests/008-rpmdbsearch.phpt | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/008-rpmdbsearch.phpt b/tests/008-rpmdbsearch.phpt index 6e0e402..2bd04f1 100644 --- a/tests/008-rpmdbsearch.phpt +++ b/tests/008-rpmdbsearch.phpt @@ -2,7 +2,9 @@ Check for rpmdbinfo function --SKIPIF-- <?php -if (!extension_loaded("rpminfo")) print "skip"; +if (!extension_loaded("rpminfo")) dir('skip extension missing'); +$a = rpmdbsearch(PHP_BINARY, RPMTAG_INSTFILENAMES); +if (is_null($a)) die('skip PHP installed from sources'); ?> --FILE-- |
