summaryrefslogtreecommitdiffstats
path: root/tests/008-rpmdbsearch.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'tests/008-rpmdbsearch.phpt')
-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);
?>