summaryrefslogtreecommitdiffstats
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
parent47dcbe79beffae527f07eb15c550cf7a58996de6 (diff)
drop PHP 7 test
-rw-r--r--package.xml1
-rw-r--r--tests/010-rpmvercmp_error7.phpt29
2 files changed, 0 insertions, 30 deletions
diff --git a/package.xml b/package.xml
index 34627ee..b972838 100644
--- a/package.xml
+++ b/package.xml
@@ -54,7 +54,6 @@ Documentation: https://www.php.net/rpminfo
<file name="007-rpmdbinfo.phpt" role="test"/>
<file name="008-rpmdbsearch.phpt" role="test"/>
<file name="009-rpmdbinfo2.phpt" role="test"/>
- <file name="010-rpmvercmp_error7.phpt" role="test"/>
<file name="011-rpmvercmp_error8.phpt" role="test"/>
<file name="012-rpmaddtag.phpt" role="test"/>
<file name="013-rpmdbsearch-error.phpt" role="test"/>
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