db-derby-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kmars...@apache.org
Subject svn commit: r1082680 - /db/derby/code/trunk/java/testing/org/apache/derbyTesting/junit/BaseTestCase.java
Date Thu, 17 Mar 2011 20:27:33 GMT
Author: kmarsden
Date: Thu Mar 17 20:27:32 2011
New Revision: 1082680

URL: http://svn.apache.org/viewvc?rev=1082680&view=rev
Log:
DERBY-4762 Failure in testPing

One more diagnostic improvement in BaseTestCase.execJavaCmd to print the command argements
passed to exec with -Dderby.tests.debug=true


Modified:
    db/derby/code/trunk/java/testing/org/apache/derbyTesting/junit/BaseTestCase.java

Modified: db/derby/code/trunk/java/testing/org/apache/derbyTesting/junit/BaseTestCase.java
URL: http://svn.apache.org/viewvc/db/derby/code/trunk/java/testing/org/apache/derbyTesting/junit/BaseTestCase.java?rev=1082680&r1=1082679&r2=1082680&view=diff
==============================================================================
--- db/derby/code/trunk/java/testing/org/apache/derbyTesting/junit/BaseTestCase.java (original)
+++ db/derby/code/trunk/java/testing/org/apache/derbyTesting/junit/BaseTestCase.java Thu Mar
17 20:27:32 2011
@@ -543,7 +543,10 @@ public abstract class BaseTestCase
 	    System.arraycopy(cmd, 0, tcmd, 3, cmd.length);
 
 	    final String[] command = tcmd;
-
+	    println("execute java command:");
+	    for (int i = 0; i < command.length; i++) {
+	        println("command[" + i + "]" + command[i]);
+	    }
 	    Process pr = null;
 	    try {
 	        pr = (Process) AccessController



Mime
View raw message