S022-locale_map

Locale map test



Author(s)

Original author: Peter Sramel
Modified and converted to CTI TET by Martin Daum, daum@seznam.cz


Written in

korn shell scripting language


Short Desription

check whether entries in /usr/lib/locale/xx_XX.XXXXXXXX/locale_map (for all locales) dont have C set as a locale (LANG and LC_MESSAGES variables are checked whether they arent assigned "C")


How It works

find the locale_map for all files, then, inside a loop going through the find output, grep the variables that have C values assigned in the locale_map file for the current locale, if there are any (i.e. the grep output isnt empty), fail the test for the locale and report the locale as failed, otherwise mark the locale as passed. If there are no failed locales, the test is passed.


Test output & log files

Reports status for particular locales whether C values are found in their locale_map files. If no C values assigned to LANG and LC_MESSAGES variables are found, the test is passed.



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