summaryrefslogtreecommitdiffstats
path: root/tests/001.phpt
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2018-01-24 13:21:47 +0100
committerRemi Collet <remi@remirepo.net>2018-01-24 13:21:47 +0100
commit88e8bef6b42bbd1a831e5c8a37e0567251df83bb (patch)
tree04918715f782ef0312e92d21a99dd2096dec5969 /tests/001.phpt
initial work, only PoC for now
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