repo.or.cz
/
libiconv.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Fix macro file 'serial' numbers for 'aclocal --install'.
[libiconv.git]
/
tests
/
check-translitfailure
blob
37dd86e0d2df1940f08ea48721e269146f3358d4
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
$?