This is an automated email from the ASF dual-hosted git repository. markt pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/tomcat.git
The following commit(s) were added to refs/heads/master by this push: new 776ff65 Add some debugging for Github/Travis/s390x test failure 776ff65 is described below commit 776ff659ba771a831635ea6f9587ea85d8823e1c Author: Mark Thomas <ma...@apache.org> AuthorDate: Mon Aug 17 10:37:49 2020 +0100 Add some debugging for Github/Travis/s390x test failure --- .../org/apache/jasper/compiler/TestParserNoStrictWhitespace.java | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/test/org/apache/jasper/compiler/TestParserNoStrictWhitespace.java b/test/org/apache/jasper/compiler/TestParserNoStrictWhitespace.java index 58d3f9f..6f39449 100644 --- a/test/org/apache/jasper/compiler/TestParserNoStrictWhitespace.java +++ b/test/org/apache/jasper/compiler/TestParserNoStrictWhitespace.java @@ -20,6 +20,8 @@ package org.apache.jasper.compiler; import org.junit.Assert; import org.junit.Test; +import org.apache.catalina.core.StandardContext; +import org.apache.catalina.core.StandardWrapper; import org.apache.catalina.startup.TomcatBaseTest; import org.apache.tomcat.util.buf.ByteChunk; @@ -34,11 +36,16 @@ public class TestParserNoStrictWhitespace extends TomcatBaseTest { public void testBug49297NoSpaceNotStrict() throws Exception { getTomcatInstanceTestWebapp(false, true); + // Github / Travis / s390x debug code + StandardContext ctxt = (StandardContext) getTomcatInstance().getHost().findChild("/test"); + StandardWrapper w = (StandardWrapper) ctxt.findChild("bug49297NoSpace"); + System.out.println("JSP strict whitespace: [" + w.getInitParameter("strictWhitespace") + "]"); + // debug code end + ByteChunk res = new ByteChunk(); int sc = getUrl("http://localhost:" + getPort() + "/test/bug49nnn/bug49297NoSpace.jsp", res, null); - Assert.assertEquals(200, sc); assertEcho(res.toString(), "Hello World"); } --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org