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