summaryrefslogtreecommitdiffstats
path: root/tests/001.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'tests/001.phpt')
-rw-r--r--tests/001.phpt10
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/001.phpt b/tests/001.phpt
new file mode 100644
index 0000000..69f6aff
--- /dev/null
+++ b/tests/001.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