projects
/
pspp
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
340babe
)
MacOS: Fix skipped test "convert invalid UTF-8 to ISO-8859-1"
author
Friedrich Beckmann
<friedrich.beckmann@gmx.de>
Sun, 5 Nov 2023 19:59:37 +0000
(20:59 +0100)
committer
Friedrich Beckmann
<friedrich.beckmann@gmx.de>
Sun, 5 Nov 2023 19:59:37 +0000
(20:59 +0100)
The skipping worked, but the non-skipped test failed on linux
systems.
tests/libpspp/i18n.at
patch
|
blob
|
history
diff --git
a/tests/libpspp/i18n.at
b/tests/libpspp/i18n.at
index 9d23aeb59c161358aa0e6b1f54ba18add463f8ef..bc960f50a72ade04f3e88970f53e661269b9e97c 100644
(file)
--- 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