summaryrefslogtreecommitdiff
path: root/jni/iconv/tests/check-stateful
diff options
context:
space:
mode:
authorJari Vetoniemi <jari.vetoniemi@indooratlas.com>2020-04-04 23:59:51 +0900
committerJari Vetoniemi <jari.vetoniemi@indooratlas.com>2020-04-04 23:59:51 +0900
commit7311a3ea25980c98307156bb16cf9a31b9228473 (patch)
treed36d9974af4ce083fa4dece5bdcb3eea7883190e /jni/iconv/tests/check-stateful
parent08b3c31dd0d0b12d63673691da72a40ae108a0d9 (diff)
mkxp fixes
Diffstat (limited to 'jni/iconv/tests/check-stateful')
-rwxr-xr-xjni/iconv/tests/check-stateful16
1 files changed, 0 insertions, 16 deletions
diff --git a/jni/iconv/tests/check-stateful b/jni/iconv/tests/check-stateful
deleted file mode 100755
index c46e692..0000000
--- a/jni/iconv/tests/check-stateful
+++ /dev/null
@@ -1,16 +0,0 @@
-#!/bin/sh
-# Simple check of a stateful encoding.
-# Usage: check-stateful SRCDIR CHARSET
-srcdir="$1"
-charset="$2"
-set -e
-
-# charset, modified for use in filenames.
-charsetf=`echo "$charset" | sed -e 's,:,-,g'`
-
-../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
-cmp "${srcdir}"/"$charsetf"-snippet tmp-snippet
-rm -f tmp-snippet
-exit 0