diff options
Diffstat (limited to 'tests/004-constants.phpt')
-rw-r--r-- | tests/004-constants.phpt | 12 |
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 |