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.