S010-validate-locale

Author(s)


Written in

C programming language


Short Desription

This is a tool to validate locale data in OpenSolaris.
It doesn't test absolutely everything but does give us some idea as to the validity of the data.

Data checks:

  • for existance of 12 abbrv months and months
  • for existance of 7 abbrv days and days
  • for existance of am, pm stirngs
  • that date and time strings only contain valid special characters (after %)
  • that there are no conflicts in date and time stringa (i.e. d_fmt can't have %H, or 2 %d etc)
  • that all LC_MESSAGES exist and that regexs are valid
  • that LC_NUMERIC and LC_MONETARY values are in range
  • collations - that all ascii and printable chars can be collated in this locale


Additional requirements

There are no additional requirements


Test output & log files

There are two results for each separate part

  • PASSED – all checked locale data in all of tested locales is correct
  • FAILED – errors were found in the locale data for some of tested locales

Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.

Sign up or Log in to add a comment or watch this page.


The individuals who post here are part of the extended Sun Microsystems community and they might not be employed or in any way formally affiliated with Sun Microsystems. The opinions expressed here are their own, are not necessarily reviewed in advance by anyone but the individual authors, and neither Sun nor any other party necessarily agrees with them.

Copyright 1994-2009 Sun Microsystems, Inc.
Powered by Atlassian Confluence
Sun Guidelines on Public Discourse Privacy Policy Terms of Use Trademarks Site Map Employment Investor Relations Contact