i18n: Add case mapping and case-insensitive string comparison tests.
authorLudovic Courtès <ludo@gnu.org>
Thu, 17 Mar 2011 21:44:25 +0000 (22:44 +0100)
committerLudovic Courtès <ludo@gnu.org>
Thu, 17 Mar 2011 21:45:36 +0000 (22:45 +0100)
commite4612ff64201284167f71ac4c09ddb1959f66eb8
tree2a2ef78fc01cea6db70925ad172ad571ee0249a9
parentc428d33d3220c96026c54075ab28021a0aeff755
i18n: Add case mapping and case-insensitive string comparison tests.

Thanks to Mark H Weaver <mhw@netris.org> for coming up with most of the
examples.

* test-suite/tests/i18n.test (%german-utf8-locale-name,
  %greek-utf8-locale-name): New variables.
  (under-german-utf8-locale-or-unresolved,
  under-greek-utf8-locale-or-unresolved): New procedures.
  ("text collation (German)", "text collation (Greek)"): New tests
  prefixes.
  ("string mapping")["string-locale-upcase German",
  "string-locale-upcase Greek", "string-locale-upcase Greek (two
  sigmas)", "string-locale-downcase Greek", "string-locale-downcase
  Greek (two sigmas)"]: New tests.
test-suite/tests/i18n.test