[
https://issues.apache.org/jira/browse/DERBY-5620?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13210283#comment-13210283
]
Kristian Waagan commented on DERBY-5620:
----------------------------------------
It could be argued that the way to solve this is to do nothing, let runBare
fail when/if the test fails, and then change the test name. The reason why I
consider another solutions is that using "special characters" in the test name
may be nice when dynamically generating test cases.
As an example, I was using "client 10.1.3.1 <> server 10.8.2.2" as the name of
the test case.
> Replace illegal characters from test name when creating the failure folder
> --------------------------------------------------------------------------
>
> Key: DERBY-5620
> URL: https://issues.apache.org/jira/browse/DERBY-5620
> Project: Derby
> Issue Type: Improvement
> Components: Test
> Affects Versions: 10.9.0.0
> Reporter: Kristian Waagan
> Assignee: Kristian Waagan
> Priority: Minor
> Attachments: derby-5620-1a-replace_illegal_fs_chars.diff
>
>
> Since the name of a JUnit test case can be any string, it should be sanitized
> and bad characters should be replaced with a valid one.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira