Репозитории ALT
S: | 2.0.11-alt3 |
5.1: | 2.0.4-alt1 |
4.1: | 2.0.3-alt5 |
4.0: | 2.0.3-alt5 |
Группа :: Система/Серверы
Пакет: apache2-mod_perl
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
Патч: apache2-mod_perl-2.0.4-tests-apache_util.patch
Скачать
Скачать
Remove problem tests
--- ./t/response/TestApache/util.pm
+++ ./t/response/TestApache/util.pm
@@ -37,31 +37,7 @@ my $locale_is_utf8 = $locale =~ /UTF-8$/ ? 1 : 0;
sub handler {
my $r = shift;
- plan $r, tests => 8;
-
- # ht_time
- {
- my $time = time;
- my $fmt = "%a, %d %b %Y %H:%M:%S %Z";
- my $fmtdate;
-
- $fmtdate = Apache2::Util::ht_time($r->pool);
- time_cmp($fmtdate, $time,
- 'Apache2::Util::ht_time($pool)', 0);
-
- $fmtdate = Apache2::Util::ht_time($r->pool, $time);
- time_cmp($fmtdate, $time,
- 'Apache2::Util::ht_time($pool, $time)', 1);
-
- $fmtdate = Apache2::Util::ht_time($r->pool, $time, $fmt);
- time_cmp($fmtdate, $time,
- 'Apache2::Util::ht_time($pool, $time, $fmt)', 1);
-
- my $gmt = 0;
- $fmtdate = Apache2::Util::ht_time($r->pool, $time, $fmt, $gmt);
- time_cmp($fmtdate, $time,
- 'Apache2::Util::ht_time($pool, $time, $fmt, $gmt)', 0);
- }
+ plan $r, tests => 4;
# escape_path
{