db-derby-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kmars...@apache.org
Subject svn commit: r790741 - /db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/derbynet/SysinfoTest.java
Date Thu, 02 Jul 2009 21:37:12 GMT
Author: kmarsden
Date: Thu Jul  2 21:37:11 2009
New Revision: 790741

URL: http://svn.apache.org/viewvc?rev=790741&view=rev
Log:
DERBY-4217 Make the default port for the suites.All run configurable with a system property.

fix issue with sed function in SysinfoTest when 5 digit port is used.
Contributed by Tiago Espinha (tiago at espinhas dot net)


Modified:
    db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/derbynet/SysinfoTest.java

Modified: db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/derbynet/SysinfoTest.java
URL: http://svn.apache.org/viewvc/db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/derbynet/SysinfoTest.java?rev=790741&r1=790740&r2=790741&view=diff
==============================================================================
--- db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/derbynet/SysinfoTest.java
(original)
+++ db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/derbynet/SysinfoTest.java
Thu Jul  2 21:37:11 2009
@@ -263,7 +263,7 @@
          * asserting that output is correct.
          */
         String[] sed = {"Version", "version", "Java", "OS", 
-                "[0-9*].[0-9*].[0-9*]","JRE - JDBC","derby.drda.traceDirectory",
+                "[0-9*]\\.[0-9*]\\.[0-9*]","JRE - JDBC","derby.drda.traceDirectory",
                 "Unable to access Protection Domain","listing properties",
                 "Current Locale",           //Remove these because locale info is
                 "Found support for locale:" //not printed when running from jars..



Mime
View raw message