X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=tests%2Flibpspp%2Fi18n.at;h=421241e5db2f08b57cb766cf83b5c2bd9e16093a;hb=44bce70de3a7d3c2787d0d5cb0b452b5191b38fd;hp=5444a78ff6cfa9e059b2e1252284765598ecd7f7;hpb=03bfb72314e434ddaa2ff2b770d1d9df2ea1927a;p=pspp-builds.git diff --git a/tests/libpspp/i18n.at b/tests/libpspp/i18n.at index 5444a78f..421241e5 100644 --- a/tests/libpspp/i18n.at +++ b/tests/libpspp/i18n.at @@ -55,6 +55,14 @@ dnl So it should exercise the E2BIG case CHECK_I18N_RECODE([from ISO-8859-1 to UTF-8 with overflow], [ISO-8859-1], [UTF-8], [Tsch\374\337!], [Tsch\303\274\303\237!]) + +AT_SETUP([convert unknown encoding]) +AT_KEYWORDS([i18n]) +AT_CHECK([i18n-test recode nonexistent1 nonexistent2 asdf], [0], [asdf +], + [Warning: cannot create a converter for `nonexistent1' to `nonexistent2': Invalid argument +]) +AT_CLEANUP AT_BANNER([i18n concatenation])