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

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


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

commit 5692a3c3be1c3de699e0578de4c6b74cfb8b32d7
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 ecc7511..89feb96 100644
--- a/build.xml
+++ b/build.xml
@@ -194,7 +194,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-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to