Edit

thodg/libiconv/tests/check-translitfailure

Branch :

  • Show log

    Commit

  • Author : Bruno Haible
    Date : 2002-01-07 10:39:01
    Hash : cf2ecee5
    Message : Fix a bug in transliteration.

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