From 564b48441856bcb45f4c1a1ed0ffb69731a5938e Mon Sep 17 00:00:00 2001 From: Remi Collet <remi@remirepo.net> Date: Tue, 26 Sep 2023 10:18:22 +0200 Subject: drop PHP 7 test --- tests/010-rpmvercmp_error7.phpt | 29 ----------------------------- 1 file changed, 29 deletions(-) delete mode 100644 tests/010-rpmvercmp_error7.phpt (limited to 'tests') 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 -- cgit