From: Friedrich Beckmann Date: Sun, 5 Nov 2023 19:59:37 +0000 (+0100) Subject: MacOS: Fix skipped test "convert invalid UTF-8 to ISO-8859-1" X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2c9fe2407245037d1fc2203a814687d7525296e2;p=pspp MacOS: Fix skipped test "convert invalid UTF-8 to ISO-8859-1" The skipping worked, but the non-skipped test failed on linux systems. --- diff --git a/tests/libpspp/i18n.at b/tests/libpspp/i18n.at index 9d23aeb59c..bc960f50a7 100644 --- a/tests/libpspp/i18n.at +++ b/tests/libpspp/i18n.at @@ -50,7 +50,8 @@ AT_CHECK([case $host in #( esac]) dnl Skip the test if this host doesn't know the source and target encodings. AT_CHECK([i18n-test supports_encodings 'UTF-8' 'ISO-8859-1']) -AT_CHECK_UNQUOTED([i18n-test recode 'UTF-8' 'ISO-8859-1' 'xy\300z'], [0], [`printf 'xy?z'`]) +AT_CHECK_UNQUOTED([i18n-test recode 'UTF-8' 'ISO-8859-1' 'xy\300z'], [0], [`printf 'xy?z'` +]) AT_CLEANUP]) # 0xc2 == 0302 is the first byte of a 2-byte UTF-8 sequence