aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2000-06-27 01:05:19 +0000
committerUlrich Drepper <drepper@redhat.com>2000-06-27 01:05:19 +0000
commit9bbc1eccb70d7748006fae2810de9906c689ad3b (patch)
treed45500ea5dca350fd99562ddda3d1bd3f64cca17 /localedata/tst-ctype.sh
parent(test-srcs): Add tst-ctype. (distribute): Add tst-ctype.sh. (do-tst-ctype): N... (diff)
downloadglibc-9bbc1eccb70d7748006fae2810de9906c689ad3b.tar.gz
glibc-9bbc1eccb70d7748006fae2810de9906c689ad3b.tar.bz2
glibc-9bbc1eccb70d7748006fae2810de9906c689ad3b.zip
Updates for new format.
Diffstat (limited to 'localedata/tst-ctype.sh')
-rwxr-xr-xlocaledata/tst-ctype.sh34
1 files changed, 34 insertions, 0 deletions
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