summaryrefslogtreecommitdiffstats
path: root/tests/004-constants.phpt
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2018-01-26 11:45:24 +0100
committerRemi Collet <remi@remirepo.net>2018-01-26 11:45:24 +0100
commitbbe4b75381e1330189ddeec5ae6e4057e650808c (patch)
treedad2bd997f2bedf29e8aa4f4a35cbcdc7d76e75f /tests/004-constants.phpt
parent3b842cb8e777be978fb72fbfac7a2e5f2855d19e (diff)
reorg tests
Diffstat (limited to 'tests/004-constants.phpt')
-rw-r--r--tests/004-constants.phpt12
1 files changed, 12 insertions, 0 deletions
diff --git a/tests/004-constants.phpt b/tests/004-constants.phpt
new file mode 100644
index 0000000..397c97f
--- /dev/null
+++ b/tests/004-constants.phpt
@@ -0,0 +1,12 @@
+--TEST--
+Check for RPMVERSION constant
+--SKIPIF--
+<?php if (!extension_loaded("rpminfo")) print "skip"; ?>
+--FILE--
+<?php
+var_dump(RPMVERSION);
+?>
+Done
+--EXPECTF--
+string(%d) "4.%s"
+Done