X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=tests%2Flibpspp%2Fi18n.at;h=d0e87bb3b9ed820fce1f79e8dbbb340a8b36ff50;hb=refs%2Fheads%2Fctables4;hp=77216aac208a9b9d16704653060e285f8db671be;hpb=facb4a1ad3c9e8b2cdf55824680eed2afb91aebe;p=pspp diff --git a/tests/libpspp/i18n.at b/tests/libpspp/i18n.at index 77216aac20..d0e87bb3b9 100644 --- a/tests/libpspp/i18n.at +++ b/tests/libpspp/i18n.at @@ -20,16 +20,14 @@ AT_BANNER([i18n recoding]) # [FROM-TEXT], [TO-TEXT]) # # Converts FROM-TEXT from FROM-CODING to TO-CODING and checks that the result -# is TO-TEXT. The "printf" program is applied to both FROM-TEXT and TO-TEXT to -# allow for backslash-escapes. (Hex escapes are not portable; use octal -# escapes instead.) +# is TO-TEXT. Octal backslash-escapes are supported in FROM-TEXT and TO-TEXT. m4_define([CHECK_I18N_RECODE], [AT_SETUP([convert $1]) AT_KEYWORDS([i18n]) dnl Skip the test if this host doesn't know the source and target encodings. AT_CHECK([i18n-test supports_encodings '$2' '$3']) - AT_CHECK_UNQUOTED([i18n-test recode '$2' '$3' `printf '$4'`], [0], [`printf '$5'` + AT_CHECK_UNQUOTED([i18n-test recode '$2' '$3' '$4'], [0], [`printf '$5'` ]) AT_CLEANUP]) @@ -85,8 +83,7 @@ m4_define([CHECK_I18N_CONCAT], dnl Skip the test if this host doesn't know the encoding. AT_CHECK([i18n-test supports_encodings '$3']) AT_CHECK_UNQUOTED( - [i18n-test concat "`printf '$1'`" "`printf '$2'`" '$3' '$4'], [0], - [`printf '$5'` + [i18n-test concat '$1' '$2' '$3' '$4'], [0], [`printf '$5'` ]) AT_CLEANUP])