diff options
author | Remi Collet <remi@remirepo.net> | 2018-01-26 11:45:24 +0100 |
---|---|---|
committer | Remi Collet <remi@remirepo.net> | 2018-01-26 11:45:24 +0100 |
commit | bbe4b75381e1330189ddeec5ae6e4057e650808c (patch) | |
tree | dad2bd997f2bedf29e8aa4f4a35cbcdc7d76e75f /tests/002.phpt | |
parent | 3b842cb8e777be978fb72fbfac7a2e5f2855d19e (diff) |
reorg tests
Diffstat (limited to 'tests/002.phpt')
-rw-r--r-- | tests/002.phpt | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/tests/002.phpt b/tests/002.phpt deleted file mode 100644 index 27c3a84..0000000 --- a/tests/002.phpt +++ /dev/null @@ -1,29 +0,0 @@ ---TEST-- -Check for rpmvercmp function ---SKIPIF-- -<?php if (!extension_loaded("rpminfo")) print "skip"; ?> ---FILE-- -<?php -var_dump(rpmvercmp("1.0", "1.1")); -var_dump(rpmvercmp("1.1", "1.0")); -var_dump(rpmvercmp("1.0", "1.0")); -// Errors -var_dump(rpmvercmp()); -var_dump(rpmvercmp("a")); -var_dump(rpmvercmp("a", "b", "c")); -?> -Done ---EXPECTF-- -int(-1) -int(1) -int(0) - -Warning: rpmvercmp() expects exactly 2 parameters, 0 given in %s/002.php on line 6 -NULL - -Warning: rpmvercmp() expects exactly 2 parameters, 1 given in %s/002.php on line 7 -NULL - -Warning: rpmvercmp() expects exactly 2 parameters, 3 given in %s/002.php on line 8 -NULL -Done |