summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2020-03-12 10:25:37 +0100
committerRemi Collet <remi@remirepo.net>2020-03-12 10:25:37 +0100
commitaeee90d0196b94f23358a0410a8742d13908abe7 (patch)
treee3542ac098cb59946106ffee2da8e98d0a5a4b0c /tests
parent017e18c8d0dd45074423f0ac08191d7456bf710b (diff)
use upstream name and expose all RPMTAG_*
Diffstat (limited to 'tests')
-rw-r--r--tests/008-rpmdbsearch.phpt6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/008-rpmdbsearch.phpt b/tests/008-rpmdbsearch.phpt
index 09800a6..28357e0 100644
--- a/tests/008-rpmdbsearch.phpt
+++ b/tests/008-rpmdbsearch.phpt
@@ -4,13 +4,13 @@ Check for rpmdbinfo function
<?php if (!extension_loaded("rpminfo")) print "skip"; ?>
--FILE--
<?php
-$a = rpmdbsearch('php*', RPM_TAG_NAME , RPM_MATCH_GLOB);
+$a = rpmdbsearch('php*', RPMTAG_NAME , RPMMIRE_GLOB);
var_dump(count($a) > 1);
-$a = rpmdbsearch('^php', RPM_TAG_NAME, RPM_MATCH_REGEX);
+$a = rpmdbsearch('^php', RPMTAG_NAME, RPMMIRE_REGEX);
var_dump(count($a) > 1);
-$a = rpmdbsearch(PHP_BINARY, RPM_TAG_INSTFILENAMES);
+$a = rpmdbsearch(PHP_BINARY, RPMTAG_INSTFILENAMES);
var_dump(count($a) == 1);
?>