Репозитории 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.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";