diff options
-rw-r--r-- | package.xml | 1 | ||||
-rw-r--r-- | tests/010-rpmvercmp_error7.phpt | 29 |
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 |