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