From 4edc30e4d70ff4bd49abf8dc5a98502f07ff5991 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Tue, 27 Jun 2000 03:59:26 +0000 Subject: Update. * tst-ctype.c: Read in more tests from stdin. * tst-ctype.sh: Feed extra test data to program via stdin. * tst-ctype-de_DE.in: New file. * locales/i18n (punct): Exclude U00A0. (blank): Include U00A0. * locales/ja_JP: Updates for new format. * Makefile (test-srcs): Add tst-ctype. (distribute): Add tst-ctype.sh. (do-tst-ctype): New target. Run for tests. * tst-ctype.c: New file. * tst-ctype.sh: New file. --- localedata/tst-ctype.sh | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'localedata/tst-ctype.sh') diff --git a/localedata/tst-ctype.sh b/localedata/tst-ctype.sh index e348464bfc..b768134122 100755 --- a/localedata/tst-ctype.sh +++ b/localedata/tst-ctype.sh @@ -25,9 +25,14 @@ status=0 # Run the test programs. rm -f ${common_objpfx}localedata/tst-ctype.out for loc in de_DE en_US; do + if test -f tst-ctype-$loc.in; then + input=tst-ctype-$loc.in + else + input=/dev/null + fi LOCPATH=${common_objpfx}localedata GCONV_PATH=${common_objpfx}iconvdata \ LC_ALL=$loc ${common_objpfx}elf/ld.so --library-path $common_objpfx \ - ${common_objpfx}localedata/tst-ctype \ + ${common_objpfx}localedata/tst-ctype < $input \ >> ${common_objpfx}localedata/tst-ctype.out || status=1 done -- cgit v1.2.3