From 9bbc1eccb70d7748006fae2810de9906c689ad3b Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Tue, 27 Jun 2000 01:05:19 +0000 Subject: Updates for new format. --- localedata/tst-ctype.sh | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100755 localedata/tst-ctype.sh (limited to 'localedata/tst-ctype.sh') diff --git a/localedata/tst-ctype.sh b/localedata/tst-ctype.sh new file mode 100755 index 0000000000..e348464bfc --- /dev/null +++ b/localedata/tst-ctype.sh @@ -0,0 +1,34 @@ +#! /bin/sh +# Testing the implementation of the isxxx() and toxxx() functions. +# Copyright (C) 2000 Free Software Foundation, Inc. +# This file is part of the GNU C Library. +# +# The GNU C Library is free software; you can redistribute it and/or +# modify it under the terms of the GNU Library General Public License as +# published by the Free Software Foundation; either version 2 of the +# License, or (at your option) any later version. +# +# The GNU C Library is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# Library General Public License for more details. +# +# You should have received a copy of the GNU Library General Public +# License along with the GNU C Library; see the file COPYING.LIB. If +# not, write to the Free Software Foundation, Inc., +# 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + +common_objpfx=$1; shift + +status=0 + +# Run the test programs. +rm -f ${common_objpfx}localedata/tst-ctype.out +for loc in de_DE en_US; do + 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.out || status=1 +done + +exit $status -- cgit v1.2.3