You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by ma...@apache.org on 2021/04/26 13:38:32 UTC

[tomcat] branch 8.5.x updated: Fix failing tests on Windows with Java 8u29x onwards

This is an automated email from the ASF dual-hosted git repository.

markt pushed a commit to branch 8.5.x
in repository https://gitbox.apache.org/repos/asf/tomcat.git


The following commit(s) were added to refs/heads/8.5.x by this push:
     new 948c928  Fix failing tests on Windows with Java 8u29x onwards
948c928 is described below

commit 948c92811f6f1c8004e86194861af95f13d327ef
Author: Mark Thomas <ma...@apache.org>
AuthorDate: Mon Apr 26 14:36:52 2021 +0100

    Fix failing tests on Windows with Java 8u29x onwards
---
 build.xml | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/build.xml b/build.xml
index 461eac7..ad55d0b 100644
--- a/build.xml
+++ b/build.xml
@@ -188,7 +188,10 @@
 
   <!-- Workaround against http://bugs.sun.com/view_bug.do?bug_id=6202721 -->
   <available file="/dev/urandom" property="test.jvmarg.egd" value="-Djava.security.egd=file:/dev/./urandom"/>
-  <property name="test.jvmarg.egd" value="" />
+  <!-- JREs may fail to start with an empty argument so provide a dummy      -->
+  <!-- value here for those cases, such as Windows, where no value will be   -->
+  <!-- set above.                                                            -->
+  <property name="test.jvmarg.egd" value="-Dignore" />
 
   <!-- Location of OpenSSL binary (file name, not directory) -->
   <!-- The OpenSSL tests cases be disabled by specifying an invalid path here -->

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