aboutsummaryrefslogtreecommitdiffstats
path: root/tests/check-stateful
diff options
context:
space:
mode:
Diffstat (limited to 'tests/check-stateful')
-rwxr-xr-xtests/check-stateful4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/check-stateful b/tests/check-stateful
index c46e692..218103c 100755
--- a/tests/check-stateful
+++ b/tests/check-stateful
@@ -8,6 +8,10 @@ set -e
# charset, modified for use in filenames.
charsetf=`echo "$charset" | sed -e 's,:,-,g'`
+if test -f "${srcdir}"/"$charsetf"-snippet.alt; then
+ ../src/iconv_no_i18n -f "$charset" -t UTF-8 < "${srcdir}"/"$charsetf"-snippet.alt > tmp-snippet
+ cmp "${srcdir}"/"$charsetf"-snippet.UTF-8 tmp-snippet
+fi
../src/iconv_no_i18n -f "$charset" -t UTF-8 < "${srcdir}"/"$charsetf"-snippet > tmp-snippet
cmp "${srcdir}"/"$charsetf"-snippet.UTF-8 tmp-snippet
../src/iconv_no_i18n -f UTF-8 -t "$charset" < "${srcdir}"/"$charsetf"-snippet.UTF-8 > tmp-snippet