Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37048482
en ru br
Репозитории ALT
S:2.0.11-alt3
5.1: 2.0.4-alt1
4.1: 2.0.3-alt5
4.0: 2.0.3-alt5
www.altlinux.org/Changes

Группа :: Система/Серверы
Пакет: apache2-mod_perl

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

Патч: apache2-mod_perl-2.0.3-alt-tests-uploads.patch
Скачать


Under hasher several uploads tests fails due to too permissive /tmp
--- ./t/modules/cgi.t
+++ ./t/modules/cgi.t
@@ -8,7 +8,10 @@ use Apache2::Build ();
 
 my $build = Apache2::Build->build_config;
 
-use constant HAVE_LWP => have_lwp();
+# This test fails in hasher because of /tmp permissions
+#use constant HAVE_LWP => have_lwp();
+use constant HAVE_LWP => 0;
+
 
 my $tests = 4;
 $tests += 1 if HAVE_LWP;
--- ./t/modules/cgi2.t
+++ ./t/modules/cgi2.t
@@ -8,7 +8,9 @@ use Apache2::Build ();
 
 my $build = Apache2::Build->build_config;
 
-use constant HAVE_LWP => have_lwp();
+# This test fails in hasher because of /temp permissions
+#use constant HAVE_LWP => have_lwp();
+use constant HAVE_LWP => 0;
 
 my $tests = 4;
 $tests += 1 if HAVE_LWP;
--- ./t/modules/cgiupload.t
+++ ./t/modules/cgiupload.t
@@ -9,7 +9,9 @@ use Apache2::Build ();
 use File::Spec::Functions qw(catfile);
 
 my $build = Apache2::Build->build_config;
+# This test fails in hasher because of /temp permissions
 plan tests => 2, need need_lwp(), need need_min_module_version('CGI', 3.08),
+plan tests => 2, need 0, need need_min_module_version('CGI', 3.08),
     {"MP_COMPAT_1X is disabled" => $build->{MP_COMPAT_1X}};
 
 my $location = "/TestModules__cgiupload";
--- ./t/modules/cgiupload2.t
+++ ./t/modules/cgiupload2.t
@@ -9,7 +9,9 @@ use Apache2::Build ();
 use File::Spec::Functions qw(catfile);
 
 my $build = Apache2::Build->build_config;
-plan tests => 2, need need_lwp(),
+# This test fails in hasher because of /temp permissions
+#plan tests => 2, need need_lwp(),
+plan tests => 2, need 0,
     need_min_module_version(CGI => 3.08);
 
 my $location = "/TestModules__cgiupload2";
 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin