From fcbf63e62c627deae76c1b8cb8c0876c536ed811 Mon Sep 17 00:00:00 2001 From: Jari Vetoniemi Date: Mon, 16 Mar 2020 18:49:26 +0900 Subject: Fresh start --- jni/iconv/tests/check-translitfailure | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100755 jni/iconv/tests/check-translitfailure (limited to 'jni/iconv/tests/check-translitfailure') diff --git a/jni/iconv/tests/check-translitfailure b/jni/iconv/tests/check-translitfailure new file mode 100755 index 0000000..37dd86e --- /dev/null +++ b/jni/iconv/tests/check-translitfailure @@ -0,0 +1,10 @@ +#!/bin/sh +# Simple check of transliteration failure. +# Usage: check-translitfailure SRCDIR FILE FROMCODE TOCODE +srcdir="$1" +file="$2" +fromcode="$3" +tocode="$4" +../src/iconv_no_i18n -f "$fromcode" -t "$tocode"//TRANSLIT < "${srcdir}"/"$file"."$fromcode" >/dev/null 2>/dev/null +test $? = 1 +exit $? -- cgit v1.2.3-70-g09d2