blob: 4a61227fd0bc2aa77fbe571aed33c42530c045a2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
--TEST--
Check for rpmdbinfo function
--SKIPIF--
<?php if (!extension_loaded("rpminfo")) print "skip"; ?>
--FILE--
<?php
var_dump(rpmdbsearch('notexists', RPMTAG_NAME));
try {
var_dump(rpmdbsearch('notexists', RPMTAG_NAME, 99));
} catch (ValueError $e) {
echo $e->getMessage();
}
?>
--EXPECTF--
NULL
%A Unkown rpmmire%A
|