File:  [ELWIX - Embedded LightWeight unIX -] / embedaddon / libiconv / tests / check-translitfailure
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs - revision graph
Tue Feb 21 22:57:49 2012 UTC (12 years, 4 months ago) by misho
Branches: libiconv, MAIN
CVS tags: v1_16p0, v1_14p0, v1_14, v1_13_1, HEAD
libiconv

    1: #!/bin/sh
    2: # Simple check of transliteration failure.
    3: # Usage: check-translitfailure SRCDIR FILE FROMCODE TOCODE
    4: srcdir="$1"
    5: file="$2"
    6: fromcode="$3"
    7: tocode="$4"
    8: ../src/iconv_no_i18n -f "$fromcode" -t "$tocode"//TRANSLIT < "${srcdir}"/"$file"."$fromcode" >/dev/null 2>/dev/null
    9: test $? = 1
   10: exit $?

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>