[
https://issues.apache.org/jira/browse/DERBY-3829?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12623130#action_12623130
]
Erlend Birkenes commented on DERBY-3829:
----------------------------------------
There is still something wrong with the way assertExecJavaCmdAsExpected
captures output.
I get this output:
--------- Derby Network Server Information --------
Version: CSS10050/10.5.0.0 alpha - (1) Build: 1 DRDA Product Id: CSS10050 **
SANE BUILD **
-- listing properties --
derby.drda.traceDirectory=/home/erlend/workspace/Derby/system
derby.drda.maxThreads=0
derby.drda.sslMode=off
derby.drda.keepAlive=true
derby.drda.minThreads=0
derby.drda.portNumber=1527
derby.drda.logConnections=false
derby.drda.timeSlice=0
derby.drda.startNetworkServer=false
derby.drda.host=127.0.0.1
derby.drda.traceAll=false
------------------ Java Information ------------------
Java Version: 1.5.0_15
Java Vendor: Sun Microsystems Inc.
Java home: /usr/lib/jvm/java-1.5.0-sun-1.5.0.15/jre
Java classpath:
/home/erlend/workspace/Derby/classes:/home/erlend/Download/eclipse/plugins/org.junit_3.8.2.v200706111738/junit.jar:/home/erlend/Download/eclipse/configuration/org.eclipse.osgi/bundles/79/1/.cp/:/home/erlend/Download/eclipse/configuration/org.eclipse.osgi/bundles/7/1/.cp/
OS name: Linux
OS architecture: i386
OS version:2.6.24-19-generic
Java user name: erlend
Java user home: /home/erlend
Java user dir: /home/erlend/workspace/Derby
java.specification.name: Java Platform API Specification
java.specification.version: 1.5
--------- Derby Information --------
JRE - JDBC: J2SE 5.0 - JDBC 3.0
[/home/erlend/workspace/Derby/classes] 10.5.0.0 alpha - (1)
[Java Security Exception: access denied (java.io.FilePermission
/home/erlend/Download/eclipse/plugins/org.junit_3.8.2.v200706111738/junit.jar
read)] <null>
[Java Security Exception: access denied (java.io.FilePermission
/home/erlend/Download/eclipse/configuration/org.eclipse.osgi/bundles/79/1/.cp
read)] <null>
[Java Security Exception: access denied (java.io.FilePermission
/home/erlend/Download/eclipse/configuration/org.eclipse.osgi/bundles/7/1/.cp
read)] <null>
------------------------------------------------------
----------------- Locale Information -----------------
Current Locale : [English/United States [en_US]]
Found support for locale: [cs]
version: 10.5.0.0 alpha- (1)
Found support for locale: [de_DE]
version: 10.5.0.0 alpha - (1)
Found support for locale: [es]
version: 10.5.0.0 alpha - (1)
Found support for locale: [fr]
version: 10.5.0.0 alpha - (1)
Found support for locale: [hu]
version: 10.5.0.0 alpha - (1)
Found support for locale: [it]
version: 10.5.0.0 alpha - (1)
Found support for locale: [ja_JP]
version: 10.5.0.0 alpha - (1)
Found support for locale: [ko_KR]
version: 10.5.0.0 alpha - (1)
Found support for locale: [pl]
version: 10.5.0.0 alpha - (1)
Found support for locale: [pt_BR]
version: 10.5.0.0 alpha - (1)
Found support for locale: [ru]
version: 10.5.0.0 alpha - (1)
Found support for locale: [zh_CN]
version: 10.5.0.0 alpha - (1)
Found support for locale: [zh_TW]
version: 10.5.0.0 alpha - (1)
------------------------------------------------------
-------------------------
----------------- Locale Information -----------------
Current Locale : [English/United States [en_US]]
Found support for locale: [cs]
version: 10.5.0.0 alpha
The last 5 lines should not be there.. i tried playing with the char[] length
and it changes the output, but I can't get it to go away. And if it did I
suspect it could still be wrong with different output.
> Convert derbynet/sysinfo and derbynet/sysinfo_with_properties to JUnit
> ----------------------------------------------------------------------
>
> Key: DERBY-3829
> URL: https://issues.apache.org/jira/browse/DERBY-3829
> Project: Derby
> Issue Type: Test
> Components: Test
> Affects Versions: 10.5.0.0
> Reporter: Erlend Birkenes
> Assignee: Erlend Birkenes
> Priority: Minor
> Fix For: 10.5.0.0
>
> Attachments: Derby-3829_1.diff
>
>
> I'm guessing these two can be combined into one file
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.