mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-01-27 06:26:15 +01:00
Fix up shell script
This commit is contained in:
parent
a1b1b4f47a
commit
5525aa52c9
@ -1,5 +1,7 @@
|
|||||||
2006-04-05 Matthias Clasen <mclasen@redhat.com>
|
2006-04-05 Matthias Clasen <mclasen@redhat.com>
|
||||||
|
|
||||||
|
* tests/run-collate-tests.sh: Fix up shell script.
|
||||||
|
|
||||||
* tests/option-test.c (arg_test5): Skip the test if
|
* tests/option-test.c (arg_test5): Skip the test if
|
||||||
setting the locale fails.
|
setting the locale fails.
|
||||||
(empty_test1): Reset prgname before the test.
|
(empty_test1): Reset prgname before the test.
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
2006-04-05 Matthias Clasen <mclasen@redhat.com>
|
2006-04-05 Matthias Clasen <mclasen@redhat.com>
|
||||||
|
|
||||||
|
* tests/run-collate-tests.sh: Fix up shell script.
|
||||||
|
|
||||||
* tests/option-test.c (arg_test5): Skip the test if
|
* tests/option-test.c (arg_test5): Skip the test if
|
||||||
setting the locale fails.
|
setting the locale fails.
|
||||||
(empty_test1): Reset prgname before the test.
|
(empty_test1): Reset prgname before the test.
|
||||||
|
@ -25,17 +25,14 @@ for I in ${srcdir:-.}/collate/*.in; do
|
|||||||
echo_v "Sorting $I"
|
echo_v "Sorting $I"
|
||||||
name=`basename $I .in`
|
name=`basename $I .in`
|
||||||
./unicode-collate $I > collate.out
|
./unicode-collate $I > collate.out
|
||||||
if ! diff collate.out ${srcdir:-.}/collate/$name.unicode; then
|
diff collate.out ${srcdir:-.}/collate/$name.unicode ||
|
||||||
fail "unexpected error when using g_utf8_collate() on $I"
|
fail "unexpected error when using g_utf8_collate() on $I"
|
||||||
fi
|
|
||||||
./unicode-collate --key $I > collate.out
|
./unicode-collate --key $I > collate.out
|
||||||
if ! diff collate.out ${srcdir:-.}/collate/$name.unicode; then
|
diff collate.out ${srcdir:-.}/collate/$name.unicode ||
|
||||||
fail "unexpected error when using g_utf8_collate_key() on $I"
|
fail "unexpected error when using g_utf8_collate_key() on $I"
|
||||||
fi
|
|
||||||
./unicode-collate --file $I > collate.out
|
./unicode-collate --file $I > collate.out
|
||||||
if ! diff collate.out ${srcdir:-.}/collate/$name.file; then
|
diff collate.out ${srcdir:-.}/collate/$name.file ||
|
||||||
fail "unexpected error when using g_utf8_collate_key_for_filename() on $I"
|
fail "unexpected error when using g_utf8_collate_key_for_filename() on $I"
|
||||||
fi
|
|
||||||
done
|
done
|
||||||
|
|
||||||
echo_v "All tests passed."
|
echo_v "All tests passed."
|
||||||
|
Loading…
Reference in New Issue
Block a user