[ 
https://issues.apache.org/jira/browse/DAFFODIL-2599?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Dave Thompson closed DAFFODIL-2599.
-----------------------------------

Verified the specified commit (commit a29eaea67f95142314004d21a01dda4da89a206f) 
is included in the latest pull from the daffodil repository.

Verified, via review, changes identified in the ticket and commit comment were 
implemented. 

Verified the affected daffodil subproject sbt test suites executed 
successfully, including the modified tests.

> Integration tests fail with non en_US LANG
> ------------------------------------------
>
>                 Key: DAFFODIL-2599
>                 URL: https://issues.apache.org/jira/browse/DAFFODIL-2599
>             Project: Daffodil
>          Issue Type: Bug
>          Components: QA
>    Affects Versions: 3.2.0
>            Reporter: Steve Lawrence
>            Assignee: Steve Lawrence
>            Priority: Minor
>              Labels: beginner
>             Fix For: 3.5.1
>
>
> Two CLI integration tests are dependent on the LANG of the system. To 
> reroduce, run:
> {code}
> export LANG=de_DE.UTF-8
> sbt IntegrationTest/test
> {code}
> This results in the the following test failures:
> * 
> org.apache.daffodil.parsing.TestCLIparsing.test_1002_CLI_Parsing_negativeTest03
> * 
> org.apache.daffodil.parsing.TestCLIparsing.test_CLI_Parsing_XCatalog_Resolution_Failure
> These tests expect error strings like "No such file or directory". But that 
> string comes from the system and is dependent on the LANG variable. For 
> example, with LANG set to de_DE, you get the error "Datei oder Verzeichnis 
> nicht gefunden" and so the integration test fails.
> Instead of checking for a specific error message, we should chnage these 
> tests to look for something generic or just check the exit code like other 
> tests do.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to