diff options
| author | Andreas K. Hüttel <dilfridge@gentoo.org> | 2016-10-01 13:46:29 +0200 |
|---|---|---|
| committer | Andreas K. Hüttel <dilfridge@gentoo.org> | 2016-10-01 13:59:54 +0200 |
| commit | 5b1864cdd9a0e05afe4f401698f7f7dffab97f9f (patch) | |
| tree | 4149e7f9b0fddab1c95dd44ca8a281f93e5bdbb5 /www-apache/mod_perl/files/mod_perl-2.0.10_rc1-Gentoo-not-Unix.patch | |
| parent | 7fcf60386b1f2d448b412ac6c0f4f2d7d1703a85 (diff) | |
| download | gentoo-5b1864cdd9a0e05afe4f401698f7f7dffab97f9f.tar.gz gentoo-5b1864cdd9a0e05afe4f401698f7f7dffab97f9f.tar.bz2 gentoo-5b1864cdd9a0e05afe4f401698f7f7dffab97f9f.zip | |
www-apache/mod_perl: Version bump to 2.0.10-rc1 with more or less complete rework; tests should pass now
Package-Manager: portage-2.3.1
Diffstat (limited to 'www-apache/mod_perl/files/mod_perl-2.0.10_rc1-Gentoo-not-Unix.patch')
| -rw-r--r-- | www-apache/mod_perl/files/mod_perl-2.0.10_rc1-Gentoo-not-Unix.patch | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/www-apache/mod_perl/files/mod_perl-2.0.10_rc1-Gentoo-not-Unix.patch b/www-apache/mod_perl/files/mod_perl-2.0.10_rc1-Gentoo-not-Unix.patch new file mode 100644 index 000000000000..578878f05d04 --- /dev/null +++ b/www-apache/mod_perl/files/mod_perl-2.0.10_rc1-Gentoo-not-Unix.patch @@ -0,0 +1,36 @@ +Tests fail because the server banner contains "Gentoo" instead of "Unix". Disable them. + + +diff -ruN mod_perl-2.0.10-rc1.orig/t/response/TestAPI/server_const.pm mod_perl-2.0.10-rc1/t/response/TestAPI/server_const.pm +--- mod_perl-2.0.10-rc1.orig/t/response/TestAPI/server_const.pm 2016-09-30 14:45:31.000000000 +0200 ++++ mod_perl-2.0.10-rc1/t/response/TestAPI/server_const.pm 2016-10-01 13:18:02.359794404 +0200 +@@ -25,7 +25,7 @@ + + my $r = shift; + +- plan $r, tests => 6; ++ plan $r, tests => 4; + + # test Apache2::ServerUtil constant subroutines + +@@ -45,13 +45,13 @@ + ok t_cmp($server_descr, qr!\bworld domination series/2\.0\b!, + 'Apache2::ServerUtil::get_server_description() -- component'); + +- # assuming ServerTokens Full (default) the banner equals description +- ok t_cmp(Apache2::ServerUtil::get_server_banner, $server_descr, +- 'Apache2::ServerUtil::get_server_banner()'); +- +- # version is just an alias for banner +- ok t_cmp(Apache2::ServerUtil::get_server_version, $server_descr, +- 'Apache2::ServerUtil::get_server_version()'); ++# # assuming ServerTokens Full (default) the banner equals description ++# ok t_cmp(Apache2::ServerUtil::get_server_banner, $server_descr, ++# 'Apache2::ServerUtil::get_server_banner()'); ++ ++# # version is just an alias for banner ++# ok t_cmp(Apache2::ServerUtil::get_server_version, $server_descr, ++# 'Apache2::ServerUtil::get_server_version()'); + + Apache2::Const::OK; + } |
