You are viewing a plain text version of this content. The canonical link for it is here.
Posted to derby-dev@db.apache.org by "David Van Couvering (JIRA)" <de...@db.apache.org> on 2006/05/26 02:23:29 UTC

[jira] Created: (DERBY-1352) sysinfo tests should filter out locale information so that it can be run successfully on locales that are not en_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
    Priority: Minor


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


[jira] Assigned: (DERBY-1352) sysinfo tests should filter out locale information so that it can be run successfully on locales that are not en_US

Posted by "Andreas Korneliussen (JIRA)" <de...@db.apache.org>.
     [ http://issues.apache.org/jira/browse/DERBY-1352?page=all ]

Andreas Korneliussen reassigned DERBY-1352:
-------------------------------------------

    Assign To: Andreas Korneliussen

> 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
>     Assignee: Andreas Korneliussen
>  Attachments: DERBY-1352.diff, DERBY-1352.stat
>
> 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


[jira] Updated: (DERBY-1352) sysinfo tests should filter out locale information so that it can be run successfully on locales that are not en_US

Posted by "Andreas Korneliussen (JIRA)" <de...@db.apache.org>.
     [ http://issues.apache.org/jira/browse/DERBY-1352?page=all ]

Andreas Korneliussen updated DERBY-1352:
----------------------------------------

    Attachment: DERBY-1352.diff
                DERBY-1352.stat

Attached is a patch which sets the system properties user.language and user.country on the test process and the networkserver process when started from the test harness.
With this patch, I could successfully run derbynet/sysinfo.java with norwegian locale.

This patch may not have any effect on all VMs.  Versions 1.4 and higher of Sun's JREs let you override the locale by setting user.language, user.country properties. Not all runtime environments provide this feature.


> 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
>  Attachments: DERBY-1352.diff, DERBY-1352.stat
>
> 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


[jira] Updated: (DERBY-1352) sysinfo tests should filter out locale information so that it can be run successfully on locales that are not en_US

Posted by "Andreas Korneliussen (JIRA)" <de...@db.apache.org>.
     [ http://issues.apache.org/jira/browse/DERBY-1352?page=all ]

Andreas Korneliussen updated DERBY-1352:
----------------------------------------

    Derby Info: [Patch Available]

> 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
>     Assignee: Andreas Korneliussen
>  Attachments: DERBY-1352.diff, DERBY-1352.stat
>
> 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


[jira] Commented: (DERBY-1352) sysinfo tests should filter out locale information so that it can be run successfully on locales that are not en_US

Posted by "Andreas Korneliussen (JIRA)" <de...@db.apache.org>.
    [ 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


[jira] Updated: (DERBY-1352) sysinfo tests should filter out locale information so that it can be run successfully on locales that are not en_US

Posted by "Rick Hillegas (JIRA)" <de...@db.apache.org>.
     [ http://issues.apache.org/jira/browse/DERBY-1352?page=all ]

Rick Hillegas updated DERBY-1352:
---------------------------------

    Priority: Major  (was: Minor)

Bumping the priority of this issue.

> 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


[jira] Resolved: (DERBY-1352) sysinfo tests should filter out locale information so that it can be run successfully on locales that are not en_US

Posted by "Andreas Korneliussen (JIRA)" <de...@db.apache.org>.
     [ http://issues.apache.org/jira/browse/DERBY-1352?page=all ]
     
Andreas Korneliussen resolved DERBY-1352:
-----------------------------------------

    Fix Version: 10.2.0.0
     Resolution: Fixed
     Derby Info:   (was: [Patch Available])

Committed revision 420522.

> 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
>     Assignee: Andreas Korneliussen
>      Fix For: 10.2.0.0
>  Attachments: DERBY-1352.diff, DERBY-1352.stat
>
> 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