11 if [ "$verbose" = "1" ]; then
17 if [ "$1" = "-v" ]; then
21 for I
in ${srcdir:-.}/collate
/*.
in; do
23 name
=`basename $I .in`
24 .
/unicode-collate
$I > collate.out
28 diff collate.out
${srcdir:-.}/collate
/$name.unicode ||
29 fail
"unexpected error when using g_utf8_collate() on $I"
30 .
/unicode-collate
--key $I > collate.out
31 diff collate.out
${srcdir:-.}/collate
/$name.unicode ||
32 fail
"unexpected error when using g_utf8_collate_key() on $I"
33 .
/unicode-collate
--file $I > collate.out
34 diff collate.out
${srcdir:-.}/collate
/$name.
file ||
35 fail
"unexpected error when using g_utf8_collate_key_for_filename() on $I"
38 echo_v
"All tests passed."