Skip to content

Commit

Permalink
Merge pull request #1383 from jedwards4b/new_illegal_char
Browse files Browse the repository at this point in the history
add illegal char : to check_name test

It needs to be illegal for both case names and test ids (for case names it was okay until the build and then gmake had problems)

Test suite: scripts_regression_tests.py
Test baseline:
Test namelist changes:
Test status: bit for bit

Fixes #433

User interface changes?: do not allow ':' in testid or case name.

Code review:
  • Loading branch information
jgfouca authored Apr 20, 2017
2 parents 40a6017 + 38e08f3 commit 4fb16a1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/lib/CIME/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ def check_name(fullname, additional_chars=None, fullpath=False):
True
"""

chars = '<>/{}[\]~`@' # pylint: disable=anomalous-backslash-in-string
chars = '<>/{}[\]~`@:' # pylint: disable=anomalous-backslash-in-string
if additional_chars is not None:
chars += additional_chars
if fullpath:
Expand Down

0 comments on commit 4fb16a1

Please sign in to comment.