summaryrefslogtreecommitdiffstats
path: root/tests/001-presence.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'tests/001-presence.phpt')
-rw-r--r--tests/001-presence.phpt10
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/001-presence.phpt b/tests/001-presence.phpt
new file mode 100644
index 0000000..69f6aff
--- /dev/null
+++ b/tests/001-presence.phpt
@@ -0,0 +1,10 @@
+--TEST--
+Check for rpminfo presence
+--SKIPIF--
+<?php if (!extension_loaded("rpminfo")) print "skip"; ?>
+--FILE--
+<?php
+echo "rpminfo extension is available";
+?>
+--EXPECT--
+rpminfo extension is available