summaryrefslogtreecommitdiffstats
path: root/tests/010-rpmvercmp_error7.phpt
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2023-09-26 10:18:22 +0200
committerRemi Collet <remi@php.net>2023-09-26 10:18:22 +0200
commit564b48441856bcb45f4c1a1ed0ffb69731a5938e (patch)
tree0ea29af310b35f8fcf87e072bebee5b6e52e7020 /tests/010-rpmvercmp_error7.phpt
parent47dcbe79beffae527f07eb15c550cf7a58996de6 (diff)
drop PHP 7 test
Diffstat (limited to 'tests/010-rpmvercmp_error7.phpt')
-rw-r--r--tests/010-rpmvercmp_error7.phpt29
1 files changed, 0 insertions, 29 deletions
diff --git a/tests/010-rpmvercmp_error7.phpt b/tests/010-rpmvercmp_error7.phpt
deleted file mode 100644
index 2d5c220..0000000
--- a/tests/010-rpmvercmp_error7.phpt
+++ /dev/null
@@ -1,29 +0,0 @@
---TEST--
-Check for rpmvercmp function error
---SKIPIF--
-<?php
-if (!extension_loaded("rpminfo")) print "skip";
-if (PHP_VERSION_ID >= 80000) print "skip only for PHP 7";
-?>
---FILE--
-<?php
-var_dump(rpmvercmp());
-var_dump(rpmvercmp("a"));
-var_dump(rpmvercmp("a", "b", "c"));
-var_dump(rpmvercmp("a", "b", "c", "d"));
-?>
-Done
---EXPECTF--
-
-Warning: rpmvercmp() expects at least 2 parameters, 0 given in %s
-NULL
-
-Warning: rpmvercmp() expects at least 2 parameters, 1 given in %s
-NULL
-
-Warning: rpmvercmp(): c is not a valid comparison operator in %s
-NULL
-
-Warning: rpmvercmp() expects at most 3 parameters, 4 given in %s
-NULL
-Done