On 12/22/23 10:51, Rémy Maucherat wrote:
On Fri, Dec 22, 2023 at 10:41 AM jean-frederic clere <jfcl...@gmail.com> wrote:

On 12/19/23 18:37, Mark Thomas wrote:
On 19/12/2023 13:05, jean-frederic clere wrote:
Hi,

I have tried to run the TCK against Tomcat-10.1.17 I have 12 failed
tests. Before investigating I have questions:

Did someone run the servlet TCK recently?

Not recently but I have run it.

Are some tests expected to fail (well for sure the
DefaultContextPathTest and the signatures, but are there others?

DefaultContextPathTest should be the only failure. Everything else
should pass.

Some test are fixed by:
+++
diff --git
a/java/org/apache/catalina/util/CharsetMapperDefault.properties
b/java/org/apache/catalina/util/CharsetMapperDefault.properties
index 6f8bf49493..d438bcf71e 100644
--- a/java/org/apache/catalina/util/CharsetMapperDefault.properties
+++ b/java/org/apache/catalina/util/CharsetMapperDefault.properties
@@ -15,3 +15,4 @@

   en=ISO-8859-1
   fr=ISO-8859-1
+ja=Shift_JIS
+++

It's ok to change the config to run the TCK, but that's about it:
https://github.com/apache/tomcat/commit/471c84b89630664e16d80c5557c681b658acabc4

Yep, is there an "easy" way to configure the CharsetMapperDefault.properties used by the mapper?


Rémy


I have created
https://cwiki.apache.org/confluence/display/TOMCAT/Servlet+TCK+6.0 and
I am planning to update it ;-)

Mark

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org


--
Cheers

Jean-Frederic


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org


--
Cheers

Jean-Frederic


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to