[
http://issues.apache.org/jira/browse/DERBY-1352?page=comments#action_12419436 ]
Andreas Korneliussen commented on DERBY-1352:
---------------------------------------------
Filtering out with SED is not a good solution.
If you have another locale, you would end up with filerting out all the output.
Here is output from sysinfo when running with portugese language and english
locale:
------------------ Informações sobre Java ------------------
Versão do Java: 1.4.2_02
Fornecedor do Java: Sun Microsystems Inc.
Diretório base do Java: /usr/local/java/j2sdk1.4.2_02/jre
Caminho de classes do Java:
/export/home/tmp/devel/issue/802/trunk/jars/sane/derbyrun.jar
Nome do Sistema Operacional: SunOS
Arquitetura do Sistema Operacional: x86
Versão do Sistema Operacional: 5.10
Nome do usuário Java: ak136785
Diretório base do usuário Java: /home/ak136785
Diretório do usuário Java: /home/ak136785/devel/bin
java.specification.name: Java Platform API Specification
java.specification.version: 1.4
---------------- Informações sobre o Derby -----------------
JRE - JDBC: J2SE 1.4.2 - JDBC 3.0
[/export/home/tmp/devel/issue/802/trunk/jars/sane/derby.jar] 10.2.0.4 alpha -
(418221M)
[/export/home/tmp/devel/issue/802/trunk/jars/sane/derbytools.jar] 10.2.0.4
alpha - (418221M)
[/export/home/tmp/devel/issue/802/trunk/jars/sane/derbynet.jar] 10.2.0.4 alpha
- (418221M)
[/export/home/tmp/devel/issue/802/trunk/jars/sane/derbyclient.jar] 10.2.0.4
alpha - (418221M)
------------------------------------------------------
---------------- Informações sobre o Idioma ----------------
Idioma atual : [português/Brasil [pt_BR]]
Encontrado suporte para o idioma: [de_DE]
versão: 10.2.0.4 alpha - (418221M)
Encontrado suporte para o idioma: [es]
versão: 10.2.0.4 alpha - (418221M)
Encontrado suporte para o idioma: [fr]
versão: 10.2.0.4 alpha - (418221M)
Encontrado suporte para o idioma: [it]
versão: 10.2.0.4 alpha - (418221M)
Encontrado suporte para o idioma: [ja_JP]
versão: 10.2.0.4 alpha - (418221M)
Encontrado suporte para o idioma: [ko_KR]
versão: 10.2.0.4 alpha - (418221M)
Encontrado suporte para o idioma: [pt_BR]
versão: 10.2.0.4 alpha - (418221M)
Encontrado suporte para o idioma: [zh_CN]
versão: 10.2.0.4 alpha - (418221M)
Encontrado suporte para o idioma: [zh_TW]
versão: 10.2.0.4 alpha - (418221M)
------------------------------------------------------
An alternative solution would be to set system properties from the harness when
running the test : i.e it could set the following system properties:
user.language=en
user.country=US
> sysinfo tests should filter out locale information so that it can be run
> successfully on locales that are not en_US
> -------------------------------------------------------------------------------------------------------------------
>
> Key: DERBY-1352
> URL: http://issues.apache.org/jira/browse/DERBY-1352
> Project: Derby
> Type: Improvement
> Components: Test
> Reporter: David Van Couvering
>
> Right now if your local is not set to en_US you get diffs on the sysinfo
> tests. We should filter this output out using a sed file so that you don't
> have to have the en_US locale to get a clean test run.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira