mirror of
https://https.git.savannah.gnu.org/git/gnulib.git
synced 2026-04-28 06:33:36 +00:00
Avoid DoS vulnerability through unsafe default assignment.
See https://www.shellcheck.net/wiki/SC2223 . * MODULES.html.sh (func_tmpdir): Surround default assignment with double-quotes. * build-aux/bootstrap: Likewise. * build-aux/csharpcomp.sh.in (func_tmpdir): Likewise. * build-aux/gendocs.sh: Likewise. * build-aux/libtool-next-version (func_tmpdir): Likewise. * config/srclist-update: Likewise. * gnulib-tool (func_tmpdir): Likewise. * posix-modules (func_tmpdir): Likewise. * tests/test-atexit.sh: Likewise. * tests/test-btoc32-1.sh: Likewise. * tests/test-btoc32-2.sh: Likewise. * tests/test-btowc1.sh: Likewise. * tests/test-btowc2.sh: Likewise. * tests/test-c-dtoastr.sh: Likewise. * tests/test-c-ldtoastr.sh: Likewise. * tests/test-c-snprintf.sh: Likewise. * tests/test-c-strcase.sh: Likewise. * tests/test-c-vasprintf.sh: Likewise. * tests/test-c-vsnprintf.sh: Likewise. * tests/test-c-xvasprintf.sh: Likewise. * tests/test-c32isalnum.sh: Likewise. * tests/test-c32isalpha.sh: Likewise. * tests/test-c32isblank.sh: Likewise. * tests/test-c32iscntrl.sh: Likewise. * tests/test-c32isdigit.sh: Likewise. * tests/test-c32isgraph.sh: Likewise. * tests/test-c32islower.sh: Likewise. * tests/test-c32isprint.sh: Likewise. * tests/test-c32ispunct.sh: Likewise. * tests/test-c32isspace.sh: Likewise. * tests/test-c32isupper.sh: Likewise. * tests/test-c32isxdigit.sh: Likewise. * tests/test-c32rtomb.sh: Likewise. * tests/test-c32snrtombs-1.sh: Likewise. * tests/test-c32snrtombs-2.sh: Likewise. * tests/test-c32snrtombs-3.sh: Likewise. * tests/test-c32snrtombs-4.sh: Likewise. * tests/test-c32srtombs-1.sh: Likewise. * tests/test-c32srtombs-2.sh: Likewise. * tests/test-c32srtombs-3.sh: Likewise. * tests/test-c32srtombs-4.sh: Likewise. * tests/test-c32stombs-1.sh: Likewise. * tests/test-c32stombs-2.sh: Likewise. * tests/test-c32stombs-3.sh: Likewise. * tests/test-c32stombs-4.sh: Likewise. * tests/test-closein.sh: Likewise. * tests/test-copy-acl.sh (func_tmpdir): Likewise. * tests/test-copy-file.sh (func_tmpdir): Likewise. * tests/test-dprintf-posix.sh: Likewise. * tests/test-execl.sh: Likewise. * tests/test-execle.sh: Likewise. * tests/test-execlp.sh: Likewise. * tests/test-execv.sh: Likewise. * tests/test-execve.sh: Likewise. * tests/test-execvp.sh: Likewise. * tests/test-execvpe.sh: Likewise. * tests/test-file-has-acl.sh (func_tmpdir): Likewise. * tests/test-fprintf-posix.sh: Likewise. * tests/test-init.sh: Likewise. * tests/test-iswdigit.sh: Likewise. * tests/test-iswxdigit.sh: Likewise. * tests/test-mbmemcasecmp1.sh: Likewise. * tests/test-mbmemcasecmp2.sh: Likewise. * tests/test-mbmemcasecmp3.sh: Likewise. * tests/test-mbmemcasecoll1.sh: Likewise. * tests/test-mbmemcasecoll2.sh: Likewise. * tests/test-mbmemcasecoll3.sh: Likewise. * tests/test-mbrtoc32-1.sh: Likewise. * tests/test-mbrtoc32-2.sh: Likewise. * tests/test-mbrtoc32-3.sh: Likewise. * tests/test-mbrtoc32-4.sh: Likewise. * tests/test-mbrtowc1.sh: Likewise. * tests/test-mbrtowc2.sh: Likewise. * tests/test-mbrtowc3.sh: Likewise. * tests/test-mbrtowc4.sh: Likewise. * tests/test-mbscasecmp.sh: Likewise. * tests/test-mbscasestr2.sh: Likewise. * tests/test-mbscasestr3.sh: Likewise. * tests/test-mbscasestr4.sh: Likewise. * tests/test-mbschr.sh: Likewise. * tests/test-mbscspn.sh: Likewise. * tests/test-mbsinit.sh: Likewise. * tests/test-mbsncasecmp.sh: Likewise. * tests/test-mbsnrtoc32s-1.sh: Likewise. * tests/test-mbsnrtoc32s-2.sh: Likewise. * tests/test-mbsnrtoc32s-3.sh: Likewise. * tests/test-mbsnrtoc32s-4.sh: Likewise. * tests/test-mbsnrtowcs1.sh: Likewise. * tests/test-mbsnrtowcs2.sh: Likewise. * tests/test-mbsnrtowcs3.sh: Likewise. * tests/test-mbsnrtowcs4.sh: Likewise. * tests/test-mbspbrk.sh: Likewise. * tests/test-mbspcasecmp.sh: Likewise. * tests/test-mbsrchr.sh: Likewise. * tests/test-mbsrtoc32s-1.sh: Likewise. * tests/test-mbsrtoc32s-2.sh: Likewise. * tests/test-mbsrtoc32s-3.sh: Likewise. * tests/test-mbsrtoc32s-4.sh: Likewise. * tests/test-mbsrtowcs1.sh: Likewise. * tests/test-mbsrtowcs2.sh: Likewise. * tests/test-mbsrtowcs3.sh: Likewise. * tests/test-mbsrtowcs4.sh: Likewise. * tests/test-mbsspn.sh: Likewise. * tests/test-mbsstr2.sh: Likewise. * tests/test-mbsstr3.sh: Likewise. * tests/test-mbstoc32s-1.sh: Likewise. * tests/test-mbstoc32s-2.sh: Likewise. * tests/test-mbstoc32s-3.sh: Likewise. * tests/test-mbstoc32s-4.sh: Likewise. * tests/test-nl_langinfo.sh: Likewise. * tests/test-parse-duration.sh (func_tmpdir): Likewise. * tests/test-perror.sh: Likewise. * tests/test-printf-posix.sh: Likewise. * tests/test-set-mode-acl.sh (func_tmpdir): Likewise. * tests/test-setlocale1.sh: Likewise. * tests/test-strtod1.sh: Likewise. * tests/test-strtold1.sh: Likewise. * tests/test-unicodeio2.sh: Likewise. * tests/test-unicodeio3.sh: Likewise. * tests/test-vasnprintf-posix2.sh: Likewise. * tests/test-vc-list-files-cvs.sh: Likewise. * tests/test-vc-list-files-git.sh: Likewise. * tests/test-vdprintf-posix.sh: Likewise. * tests/test-vfprintf-posix.sh: Likewise. * tests/test-vprintf-posix.sh: Likewise. * tests/test-wcrtomb.sh: Likewise. * tests/test-wcsnrtombs1.sh: Likewise. * tests/test-wcsnrtombs2.sh: Likewise. * tests/test-wcsnrtombs3.sh: Likewise. * tests/test-wcsnrtombs4.sh: Likewise. * tests/test-wcsrtombs1.sh: Likewise. * tests/test-wcsrtombs2.sh: Likewise. * tests/test-wcsrtombs3.sh: Likewise. * tests/test-wcsrtombs4.sh: Likewise. * tests/test-xprintf-posix.sh: Likewise. * tests/test-xstrtoimax.sh: Likewise. * tests/test-xstrtol.sh: Likewise. * tests/test-xstrtoll.sh: Likewise. * tests/test-xstrtoumax.sh: Likewise. * tests/test-yesno.sh: Likewise. * tests/unicase/test-locale-language.sh: Likewise. * tests/unicase/test-ulc-casecmp1.sh: Likewise. * tests/unicase/test-ulc-casecmp2.sh: Likewise. * tests/unicase/test-ulc-casecoll1.sh: Likewise. * tests/unicase/test-ulc-casecoll2.sh: Likewise. * tests/unigbrk/test-ulc-grapheme-breaks.sh: Likewise. * tests/unistdio/test-u16-vasnprintf2.sh: Likewise. * tests/unistdio/test-u16-vasnprintf3.sh: Likewise. * tests/unistdio/test-u32-vasnprintf2.sh: Likewise. * tests/unistdio/test-u32-vasnprintf3.sh: Likewise. * tests/unistdio/test-u8-vasnprintf2.sh: Likewise. * tests/unistdio/test-u8-vasnprintf3.sh: Likewise. * tests/unistdio/test-ulc-vasnprintf2.sh: Likewise. * tests/unistdio/test-ulc-vasnprintf3.sh: Likewise. * tests/uniwbrk/test-ulc-wordbreaks.sh: Likewise. * tests/uniwidth/test-uc_width2.sh: Likewise.
This commit is contained in:
162
ChangeLog
162
ChangeLog
@@ -1,3 +1,165 @@
|
||||
2022-07-23 Bruno Haible <bruno@clisp.org>
|
||||
|
||||
Avoid DoS vulnerability through unsafe default assignment.
|
||||
See https://www.shellcheck.net/wiki/SC2223 .
|
||||
* MODULES.html.sh (func_tmpdir): Surround default assignment with
|
||||
double-quotes.
|
||||
* build-aux/bootstrap: Likewise.
|
||||
* build-aux/csharpcomp.sh.in (func_tmpdir): Likewise.
|
||||
* build-aux/gendocs.sh: Likewise.
|
||||
* build-aux/libtool-next-version (func_tmpdir): Likewise.
|
||||
* config/srclist-update: Likewise.
|
||||
* gnulib-tool (func_tmpdir): Likewise.
|
||||
* posix-modules (func_tmpdir): Likewise.
|
||||
* tests/test-atexit.sh: Likewise.
|
||||
* tests/test-btoc32-1.sh: Likewise.
|
||||
* tests/test-btoc32-2.sh: Likewise.
|
||||
* tests/test-btowc1.sh: Likewise.
|
||||
* tests/test-btowc2.sh: Likewise.
|
||||
* tests/test-c-dtoastr.sh: Likewise.
|
||||
* tests/test-c-ldtoastr.sh: Likewise.
|
||||
* tests/test-c-snprintf.sh: Likewise.
|
||||
* tests/test-c-strcase.sh: Likewise.
|
||||
* tests/test-c-vasprintf.sh: Likewise.
|
||||
* tests/test-c-vsnprintf.sh: Likewise.
|
||||
* tests/test-c-xvasprintf.sh: Likewise.
|
||||
* tests/test-c32isalnum.sh: Likewise.
|
||||
* tests/test-c32isalpha.sh: Likewise.
|
||||
* tests/test-c32isblank.sh: Likewise.
|
||||
* tests/test-c32iscntrl.sh: Likewise.
|
||||
* tests/test-c32isdigit.sh: Likewise.
|
||||
* tests/test-c32isgraph.sh: Likewise.
|
||||
* tests/test-c32islower.sh: Likewise.
|
||||
* tests/test-c32isprint.sh: Likewise.
|
||||
* tests/test-c32ispunct.sh: Likewise.
|
||||
* tests/test-c32isspace.sh: Likewise.
|
||||
* tests/test-c32isupper.sh: Likewise.
|
||||
* tests/test-c32isxdigit.sh: Likewise.
|
||||
* tests/test-c32rtomb.sh: Likewise.
|
||||
* tests/test-c32snrtombs-1.sh: Likewise.
|
||||
* tests/test-c32snrtombs-2.sh: Likewise.
|
||||
* tests/test-c32snrtombs-3.sh: Likewise.
|
||||
* tests/test-c32snrtombs-4.sh: Likewise.
|
||||
* tests/test-c32srtombs-1.sh: Likewise.
|
||||
* tests/test-c32srtombs-2.sh: Likewise.
|
||||
* tests/test-c32srtombs-3.sh: Likewise.
|
||||
* tests/test-c32srtombs-4.sh: Likewise.
|
||||
* tests/test-c32stombs-1.sh: Likewise.
|
||||
* tests/test-c32stombs-2.sh: Likewise.
|
||||
* tests/test-c32stombs-3.sh: Likewise.
|
||||
* tests/test-c32stombs-4.sh: Likewise.
|
||||
* tests/test-closein.sh: Likewise.
|
||||
* tests/test-copy-acl.sh (func_tmpdir): Likewise.
|
||||
* tests/test-copy-file.sh (func_tmpdir): Likewise.
|
||||
* tests/test-dprintf-posix.sh: Likewise.
|
||||
* tests/test-execl.sh: Likewise.
|
||||
* tests/test-execle.sh: Likewise.
|
||||
* tests/test-execlp.sh: Likewise.
|
||||
* tests/test-execv.sh: Likewise.
|
||||
* tests/test-execve.sh: Likewise.
|
||||
* tests/test-execvp.sh: Likewise.
|
||||
* tests/test-execvpe.sh: Likewise.
|
||||
* tests/test-file-has-acl.sh (func_tmpdir): Likewise.
|
||||
* tests/test-fprintf-posix.sh: Likewise.
|
||||
* tests/test-init.sh: Likewise.
|
||||
* tests/test-iswdigit.sh: Likewise.
|
||||
* tests/test-iswxdigit.sh: Likewise.
|
||||
* tests/test-mbmemcasecmp1.sh: Likewise.
|
||||
* tests/test-mbmemcasecmp2.sh: Likewise.
|
||||
* tests/test-mbmemcasecmp3.sh: Likewise.
|
||||
* tests/test-mbmemcasecoll1.sh: Likewise.
|
||||
* tests/test-mbmemcasecoll2.sh: Likewise.
|
||||
* tests/test-mbmemcasecoll3.sh: Likewise.
|
||||
* tests/test-mbrtoc32-1.sh: Likewise.
|
||||
* tests/test-mbrtoc32-2.sh: Likewise.
|
||||
* tests/test-mbrtoc32-3.sh: Likewise.
|
||||
* tests/test-mbrtoc32-4.sh: Likewise.
|
||||
* tests/test-mbrtowc1.sh: Likewise.
|
||||
* tests/test-mbrtowc2.sh: Likewise.
|
||||
* tests/test-mbrtowc3.sh: Likewise.
|
||||
* tests/test-mbrtowc4.sh: Likewise.
|
||||
* tests/test-mbscasecmp.sh: Likewise.
|
||||
* tests/test-mbscasestr2.sh: Likewise.
|
||||
* tests/test-mbscasestr3.sh: Likewise.
|
||||
* tests/test-mbscasestr4.sh: Likewise.
|
||||
* tests/test-mbschr.sh: Likewise.
|
||||
* tests/test-mbscspn.sh: Likewise.
|
||||
* tests/test-mbsinit.sh: Likewise.
|
||||
* tests/test-mbsncasecmp.sh: Likewise.
|
||||
* tests/test-mbsnrtoc32s-1.sh: Likewise.
|
||||
* tests/test-mbsnrtoc32s-2.sh: Likewise.
|
||||
* tests/test-mbsnrtoc32s-3.sh: Likewise.
|
||||
* tests/test-mbsnrtoc32s-4.sh: Likewise.
|
||||
* tests/test-mbsnrtowcs1.sh: Likewise.
|
||||
* tests/test-mbsnrtowcs2.sh: Likewise.
|
||||
* tests/test-mbsnrtowcs3.sh: Likewise.
|
||||
* tests/test-mbsnrtowcs4.sh: Likewise.
|
||||
* tests/test-mbspbrk.sh: Likewise.
|
||||
* tests/test-mbspcasecmp.sh: Likewise.
|
||||
* tests/test-mbsrchr.sh: Likewise.
|
||||
* tests/test-mbsrtoc32s-1.sh: Likewise.
|
||||
* tests/test-mbsrtoc32s-2.sh: Likewise.
|
||||
* tests/test-mbsrtoc32s-3.sh: Likewise.
|
||||
* tests/test-mbsrtoc32s-4.sh: Likewise.
|
||||
* tests/test-mbsrtowcs1.sh: Likewise.
|
||||
* tests/test-mbsrtowcs2.sh: Likewise.
|
||||
* tests/test-mbsrtowcs3.sh: Likewise.
|
||||
* tests/test-mbsrtowcs4.sh: Likewise.
|
||||
* tests/test-mbsspn.sh: Likewise.
|
||||
* tests/test-mbsstr2.sh: Likewise.
|
||||
* tests/test-mbsstr3.sh: Likewise.
|
||||
* tests/test-mbstoc32s-1.sh: Likewise.
|
||||
* tests/test-mbstoc32s-2.sh: Likewise.
|
||||
* tests/test-mbstoc32s-3.sh: Likewise.
|
||||
* tests/test-mbstoc32s-4.sh: Likewise.
|
||||
* tests/test-nl_langinfo.sh: Likewise.
|
||||
* tests/test-parse-duration.sh (func_tmpdir): Likewise.
|
||||
* tests/test-perror.sh: Likewise.
|
||||
* tests/test-printf-posix.sh: Likewise.
|
||||
* tests/test-set-mode-acl.sh (func_tmpdir): Likewise.
|
||||
* tests/test-setlocale1.sh: Likewise.
|
||||
* tests/test-strtod1.sh: Likewise.
|
||||
* tests/test-strtold1.sh: Likewise.
|
||||
* tests/test-unicodeio2.sh: Likewise.
|
||||
* tests/test-unicodeio3.sh: Likewise.
|
||||
* tests/test-vasnprintf-posix2.sh: Likewise.
|
||||
* tests/test-vc-list-files-cvs.sh: Likewise.
|
||||
* tests/test-vc-list-files-git.sh: Likewise.
|
||||
* tests/test-vdprintf-posix.sh: Likewise.
|
||||
* tests/test-vfprintf-posix.sh: Likewise.
|
||||
* tests/test-vprintf-posix.sh: Likewise.
|
||||
* tests/test-wcrtomb.sh: Likewise.
|
||||
* tests/test-wcsnrtombs1.sh: Likewise.
|
||||
* tests/test-wcsnrtombs2.sh: Likewise.
|
||||
* tests/test-wcsnrtombs3.sh: Likewise.
|
||||
* tests/test-wcsnrtombs4.sh: Likewise.
|
||||
* tests/test-wcsrtombs1.sh: Likewise.
|
||||
* tests/test-wcsrtombs2.sh: Likewise.
|
||||
* tests/test-wcsrtombs3.sh: Likewise.
|
||||
* tests/test-wcsrtombs4.sh: Likewise.
|
||||
* tests/test-xprintf-posix.sh: Likewise.
|
||||
* tests/test-xstrtoimax.sh: Likewise.
|
||||
* tests/test-xstrtol.sh: Likewise.
|
||||
* tests/test-xstrtoll.sh: Likewise.
|
||||
* tests/test-xstrtoumax.sh: Likewise.
|
||||
* tests/test-yesno.sh: Likewise.
|
||||
* tests/unicase/test-locale-language.sh: Likewise.
|
||||
* tests/unicase/test-ulc-casecmp1.sh: Likewise.
|
||||
* tests/unicase/test-ulc-casecmp2.sh: Likewise.
|
||||
* tests/unicase/test-ulc-casecoll1.sh: Likewise.
|
||||
* tests/unicase/test-ulc-casecoll2.sh: Likewise.
|
||||
* tests/unigbrk/test-ulc-grapheme-breaks.sh: Likewise.
|
||||
* tests/unistdio/test-u16-vasnprintf2.sh: Likewise.
|
||||
* tests/unistdio/test-u16-vasnprintf3.sh: Likewise.
|
||||
* tests/unistdio/test-u32-vasnprintf2.sh: Likewise.
|
||||
* tests/unistdio/test-u32-vasnprintf3.sh: Likewise.
|
||||
* tests/unistdio/test-u8-vasnprintf2.sh: Likewise.
|
||||
* tests/unistdio/test-u8-vasnprintf3.sh: Likewise.
|
||||
* tests/unistdio/test-ulc-vasnprintf2.sh: Likewise.
|
||||
* tests/unistdio/test-ulc-vasnprintf3.sh: Likewise.
|
||||
* tests/uniwbrk/test-ulc-wordbreaks.sh: Likewise.
|
||||
* tests/uniwidth/test-uc_width2.sh: Likewise.
|
||||
|
||||
2022-07-18 Bruno Haible <bruno@clisp.org>
|
||||
|
||||
bootstrap: Comments.
|
||||
|
||||
@@ -1378,7 +1378,7 @@ func_tmpdir ()
|
||||
# Use the environment variable TMPDIR, falling back to /tmp. This allows
|
||||
# users to specify a different temporary directory, for example, if their
|
||||
# /tmp is filled up or too small.
|
||||
: ${TMPDIR=/tmp}
|
||||
: "${TMPDIR=/tmp}"
|
||||
{
|
||||
# Use the mktemp program if available. If not available, hide the error
|
||||
# message.
|
||||
|
||||
@@ -160,8 +160,8 @@ gnulib_modules=
|
||||
# Any gnulib files needed that are not in modules.
|
||||
gnulib_files=
|
||||
|
||||
: ${AUTOPOINT=autopoint}
|
||||
: ${AUTORECONF=autoreconf}
|
||||
: "${AUTOPOINT=autopoint}"
|
||||
: "${AUTORECONF=autoreconf}"
|
||||
|
||||
# A function to be called for each unrecognized option. Returns 0 if
|
||||
# the option in $1 has been processed by the function. Returns 1 if
|
||||
|
||||
@@ -42,7 +42,7 @@ func_tmpdir ()
|
||||
# Use the environment variable TMPDIR, falling back to /tmp. This allows
|
||||
# users to specify a different temporary directory, for example, if their
|
||||
# /tmp is filled up or too small.
|
||||
: ${TMPDIR=/tmp}
|
||||
: "${TMPDIR=/tmp}"
|
||||
{
|
||||
# Use the mktemp program if available. If not available, hide the error
|
||||
# message.
|
||||
|
||||
@@ -41,14 +41,14 @@ scripturl="https://git.savannah.gnu.org/cgit/gnulib.git/plain/build-aux/gendocs.
|
||||
templateurl="https://git.savannah.gnu.org/cgit/gnulib.git/plain/doc/gendocs_template"
|
||||
|
||||
: ${SETLANG="env LANG= LC_MESSAGES= LC_ALL= LANGUAGE="}
|
||||
: ${MAKEINFO="makeinfo"}
|
||||
: ${TEXI2DVI="texi2dvi"}
|
||||
: ${DOCBOOK2HTML="docbook2html"}
|
||||
: ${DOCBOOK2PDF="docbook2pdf"}
|
||||
: ${DOCBOOK2TXT="docbook2txt"}
|
||||
: ${GENDOCS_TEMPLATE_DIR="."}
|
||||
: ${PERL='perl'}
|
||||
: ${TEXI2HTML="texi2html"}
|
||||
: "${MAKEINFO="makeinfo"}"
|
||||
: "${TEXI2DVI="texi2dvi"}"
|
||||
: "${DOCBOOK2HTML="docbook2html"}"
|
||||
: "${DOCBOOK2PDF="docbook2pdf"}"
|
||||
: "${DOCBOOK2TXT="docbook2txt"}"
|
||||
: "${GENDOCS_TEMPLATE_DIR="."}"
|
||||
: "${PERL='perl'}"
|
||||
: "${TEXI2HTML="texi2html"}"
|
||||
unset CDPATH
|
||||
unset use_texi2html
|
||||
|
||||
|
||||
@@ -98,7 +98,7 @@ func_tmpdir ()
|
||||
# Use the environment variable TMPDIR, falling back to /tmp. This allows
|
||||
# users to specify a different temporary directory, for example, if their
|
||||
# /tmp is filled up or too small.
|
||||
: ${TMPDIR=/tmp}
|
||||
: "${TMPDIR=/tmp}"
|
||||
{
|
||||
# Use the mktemp program if available. If not available, hide the error
|
||||
# message.
|
||||
|
||||
@@ -48,7 +48,7 @@ fi
|
||||
verbose=false
|
||||
#chicken="echo (would)"
|
||||
|
||||
: ${TMPDIR=/tmp}
|
||||
: "${TMPDIR=/tmp}"
|
||||
dsttmp=$TMPDIR/srclist.dst
|
||||
|
||||
# Source `dirname $0`/srclistvars.sh first, if it exists.
|
||||
|
||||
@@ -500,7 +500,7 @@ func_tmpdir ()
|
||||
# Use the environment variable TMPDIR, falling back to /tmp. This allows
|
||||
# users to specify a different temporary directory, for example, if their
|
||||
# /tmp is filled up or too small.
|
||||
: ${TMPDIR=/tmp}
|
||||
: "${TMPDIR=/tmp}"
|
||||
{
|
||||
# Use the mktemp program if available. If not available, hide the error
|
||||
# message.
|
||||
|
||||
@@ -172,7 +172,7 @@ func_tmpdir ()
|
||||
# Use the environment variable TMPDIR, falling back to /tmp. This allows
|
||||
# users to specify a different temporary directory, for example, if their
|
||||
# /tmp is filled up or too small.
|
||||
: ${TMPDIR=/tmp}
|
||||
: "${TMPDIR=/tmp}"
|
||||
{
|
||||
# Use the mktemp program if available. If not available, hide the error
|
||||
# message.
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#!/bin/sh
|
||||
: ${srcdir=.}
|
||||
: "${srcdir=.}"
|
||||
. "$srcdir/init.sh"; path_prepend_ .
|
||||
|
||||
# Check that an atexit handler is called when main() returns normally.
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#!/bin/sh
|
||||
|
||||
# Test in an ISO-8859-1 or ISO-8859-15 locale.
|
||||
: ${LOCALE_FR=fr_FR}
|
||||
: "${LOCALE_FR=fr_FR}"
|
||||
if test $LOCALE_FR = none; then
|
||||
if test -f /usr/bin/localedef; then
|
||||
echo "Skipping test: no traditional french locale is installed"
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#!/bin/sh
|
||||
|
||||
# Test whether a specific UTF-8 locale is installed.
|
||||
: ${LOCALE_FR_UTF8=fr_FR.UTF-8}
|
||||
: "${LOCALE_FR_UTF8=fr_FR.UTF-8}"
|
||||
if test $LOCALE_FR_UTF8 = none; then
|
||||
if test -f /usr/bin/localedef; then
|
||||
echo "Skipping test: no french Unicode locale is installed"
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#!/bin/sh
|
||||
|
||||
# Test in an ISO-8859-1 or ISO-8859-15 locale.
|
||||
: ${LOCALE_FR=fr_FR}
|
||||
: "${LOCALE_FR=fr_FR}"
|
||||
if test $LOCALE_FR = none; then
|
||||
if test -f /usr/bin/localedef; then
|
||||
echo "Skipping test: no traditional french locale is installed"
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#!/bin/sh
|
||||
|
||||
# Test whether a specific UTF-8 locale is installed.
|
||||
: ${LOCALE_FR_UTF8=fr_FR.UTF-8}
|
||||
: "${LOCALE_FR_UTF8=fr_FR.UTF-8}"
|
||||
if test $LOCALE_FR_UTF8 = none; then
|
||||
if test -f /usr/bin/localedef; then
|
||||
echo "Skipping test: no french Unicode locale is installed"
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#!/bin/sh
|
||||
|
||||
# Test in an ISO-8859-1 or ISO-8859-15 locale.
|
||||
: ${LOCALE_FR=fr_FR}
|
||||
: "${LOCALE_FR=fr_FR}"
|
||||
if test $LOCALE_FR = none; then
|
||||
if test -f /usr/bin/localedef; then
|
||||
echo "Skipping test: no traditional french locale is installed"
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#!/bin/sh
|
||||
|
||||
# Test in an ISO-8859-1 or ISO-8859-15 locale.
|
||||
: ${LOCALE_FR=fr_FR}
|
||||
: "${LOCALE_FR=fr_FR}"
|
||||
if test $LOCALE_FR = none; then
|
||||
if test -f /usr/bin/localedef; then
|
||||
echo "Skipping test: no traditional french locale is installed"
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#!/bin/sh
|
||||
|
||||
# Test in an ISO-8859-1 or ISO-8859-15 locale.
|
||||
: ${LOCALE_FR=fr_FR}
|
||||
: "${LOCALE_FR=fr_FR}"
|
||||
if test $LOCALE_FR = none; then
|
||||
if test -f /usr/bin/localedef; then
|
||||
echo "Skipping test: no traditional french locale is installed"
|
||||
|
||||
@@ -5,14 +5,14 @@ ${CHECKER} ./test-c-strcasecmp${EXEEXT} || exit 1
|
||||
${CHECKER} ./test-c-strncasecmp${EXEEXT} || exit 1
|
||||
|
||||
# Test in an ISO-8859-1 or ISO-8859-15 locale.
|
||||
: ${LOCALE_FR=fr_FR}
|
||||
: "${LOCALE_FR=fr_FR}"
|
||||
if test $LOCALE_FR != none; then
|
||||
LC_ALL=$LOCALE_FR ${CHECKER} ./test-c-strcasecmp${EXEEXT} locale || exit 1
|
||||
LC_ALL=$LOCALE_FR ${CHECKER} ./test-c-strncasecmp${EXEEXT} locale || exit 1
|
||||
fi
|
||||
|
||||
# Test in a Turkish UTF-8 locale.
|
||||
: ${LOCALE_TR_UTF8=tr_TR.UTF-8}
|
||||
: "${LOCALE_TR_UTF8=tr_TR.UTF-8}"
|
||||
if test $LOCALE_TR_UTF8 != none; then
|
||||
LC_ALL=$LOCALE_TR_UTF8 ${CHECKER} ./test-c-strcasecmp${EXEEXT} locale || exit 1
|
||||
LC_ALL=$LOCALE_TR_UTF8 ${CHECKER} ./test-c-strncasecmp${EXEEXT} locale || exit 1
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#!/bin/sh
|
||||
|
||||
# Test in an ISO-8859-1 or ISO-8859-15 locale.
|
||||
: ${LOCALE_FR=fr_FR}
|
||||
: "${LOCALE_FR=fr_FR}"
|
||||
if test $LOCALE_FR = none; then
|
||||
if test -f /usr/bin/localedef; then
|
||||
echo "Skipping test: no traditional french locale is installed"
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#!/bin/sh
|
||||
|
||||
# Test in an ISO-8859-1 or ISO-8859-15 locale.
|
||||
: ${LOCALE_FR=fr_FR}
|
||||
: "${LOCALE_FR=fr_FR}"
|
||||
if test $LOCALE_FR = none; then
|
||||
if test -f /usr/bin/localedef; then
|
||||
echo "Skipping test: no traditional french locale is installed"
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#!/bin/sh
|
||||
|
||||
# Test in an ISO-8859-1 or ISO-8859-15 locale.
|
||||
: ${LOCALE_FR=fr_FR}
|
||||
: "${LOCALE_FR=fr_FR}"
|
||||
if test $LOCALE_FR = none; then
|
||||
if test -f /usr/bin/localedef; then
|
||||
echo "Skipping test: no traditional french locale is installed"
|
||||
|
||||
@@ -5,7 +5,7 @@ LC_ALL=C ${CHECKER} ./test-c32isalnum${EXEEXT} 0 || exit 1
|
||||
LC_ALL=POSIX ${CHECKER} ./test-c32isalnum${EXEEXT} 0 || exit 1
|
||||
|
||||
# Test in an ISO-8859-1 or ISO-8859-15 locale.
|
||||
: ${LOCALE_FR=fr_FR}
|
||||
: "${LOCALE_FR=fr_FR}"
|
||||
if test $LOCALE_FR != none; then
|
||||
LC_ALL=$LOCALE_FR \
|
||||
${CHECKER} ./test-c32isalnum${EXEEXT} 1 \
|
||||
@@ -13,7 +13,7 @@ if test $LOCALE_FR != none; then
|
||||
fi
|
||||
|
||||
# Test whether a specific EUC-JP locale is installed.
|
||||
: ${LOCALE_JA=ja_JP}
|
||||
: "${LOCALE_JA=ja_JP}"
|
||||
if test $LOCALE_JA != none; then
|
||||
LC_ALL=$LOCALE_JA \
|
||||
${CHECKER} ./test-c32isalnum${EXEEXT} 2 \
|
||||
@@ -21,7 +21,7 @@ if test $LOCALE_JA != none; then
|
||||
fi
|
||||
|
||||
# Test whether a specific UTF-8 locale is installed.
|
||||
: ${LOCALE_FR_UTF8=fr_FR.UTF-8}
|
||||
: "${LOCALE_FR_UTF8=fr_FR.UTF-8}"
|
||||
if test $LOCALE_FR_UTF8 != none; then
|
||||
LC_ALL=$LOCALE_FR_UTF8 \
|
||||
${CHECKER} ./test-c32isalnum${EXEEXT} 3 \
|
||||
@@ -29,7 +29,7 @@ if test $LOCALE_FR_UTF8 != none; then
|
||||
fi
|
||||
|
||||
# Test whether a specific GB18030 locale is installed.
|
||||
: ${LOCALE_ZH_CN=zh_CN.GB18030}
|
||||
: "${LOCALE_ZH_CN=zh_CN.GB18030}"
|
||||
if test $LOCALE_ZH_CN != none; then
|
||||
LC_ALL=$LOCALE_ZH_CN \
|
||||
${CHECKER} ./test-c32isalnum${EXEEXT} 4 \
|
||||
|
||||
@@ -5,7 +5,7 @@ LC_ALL=C ${CHECKER} ./test-c32isalpha${EXEEXT} 0 || exit 1
|
||||
LC_ALL=POSIX ${CHECKER} ./test-c32isalpha${EXEEXT} 0 || exit 1
|
||||
|
||||
# Test in an ISO-8859-1 or ISO-8859-15 locale.
|
||||
: ${LOCALE_FR=fr_FR}
|
||||
: "${LOCALE_FR=fr_FR}"
|
||||
if test $LOCALE_FR != none; then
|
||||
LC_ALL=$LOCALE_FR \
|
||||
${CHECKER} ./test-c32isalpha${EXEEXT} 1 \
|
||||
@@ -13,7 +13,7 @@ if test $LOCALE_FR != none; then
|
||||
fi
|
||||
|
||||
# Test whether a specific EUC-JP locale is installed.
|
||||
: ${LOCALE_JA=ja_JP}
|
||||
: "${LOCALE_JA=ja_JP}"
|
||||
if test $LOCALE_JA != none; then
|
||||
LC_ALL=$LOCALE_JA \
|
||||
${CHECKER} ./test-c32isalpha${EXEEXT} 2 \
|
||||
@@ -21,7 +21,7 @@ if test $LOCALE_JA != none; then
|
||||
fi
|
||||
|
||||
# Test whether a specific UTF-8 locale is installed.
|
||||
: ${LOCALE_FR_UTF8=fr_FR.UTF-8}
|
||||
: "${LOCALE_FR_UTF8=fr_FR.UTF-8}"
|
||||
if test $LOCALE_FR_UTF8 != none; then
|
||||
LC_ALL=$LOCALE_FR_UTF8 \
|
||||
${CHECKER} ./test-c32isalpha${EXEEXT} 3 \
|
||||
@@ -29,7 +29,7 @@ if test $LOCALE_FR_UTF8 != none; then
|
||||
fi
|
||||
|
||||
# Test whether a specific GB18030 locale is installed.
|
||||
: ${LOCALE_ZH_CN=zh_CN.GB18030}
|
||||
: "${LOCALE_ZH_CN=zh_CN.GB18030}"
|
||||
if test $LOCALE_ZH_CN != none; then
|
||||
LC_ALL=$LOCALE_ZH_CN \
|
||||
${CHECKER} ./test-c32isalpha${EXEEXT} 4 \
|
||||
|
||||
@@ -5,7 +5,7 @@ LC_ALL=C ${CHECKER} ./test-c32isblank${EXEEXT} 0 || exit 1
|
||||
LC_ALL=POSIX ${CHECKER} ./test-c32isblank${EXEEXT} 0 || exit 1
|
||||
|
||||
# Test in an ISO-8859-1 or ISO-8859-15 locale.
|
||||
: ${LOCALE_FR=fr_FR}
|
||||
: "${LOCALE_FR=fr_FR}"
|
||||
if test $LOCALE_FR != none; then
|
||||
LC_ALL=$LOCALE_FR \
|
||||
${CHECKER} ./test-c32isblank${EXEEXT} 1 \
|
||||
@@ -13,7 +13,7 @@ if test $LOCALE_FR != none; then
|
||||
fi
|
||||
|
||||
# Test whether a specific EUC-JP locale is installed.
|
||||
: ${LOCALE_JA=ja_JP}
|
||||
: "${LOCALE_JA=ja_JP}"
|
||||
if test $LOCALE_JA != none; then
|
||||
LC_ALL=$LOCALE_JA \
|
||||
${CHECKER} ./test-c32isblank${EXEEXT} 2 \
|
||||
@@ -21,7 +21,7 @@ if test $LOCALE_JA != none; then
|
||||
fi
|
||||
|
||||
# Test whether a specific UTF-8 locale is installed.
|
||||
: ${LOCALE_FR_UTF8=fr_FR.UTF-8}
|
||||
: "${LOCALE_FR_UTF8=fr_FR.UTF-8}"
|
||||
if test $LOCALE_FR_UTF8 != none; then
|
||||
LC_ALL=$LOCALE_FR_UTF8 \
|
||||
${CHECKER} ./test-c32isblank${EXEEXT} 3 \
|
||||
@@ -29,7 +29,7 @@ if test $LOCALE_FR_UTF8 != none; then
|
||||
fi
|
||||
|
||||
# Test whether a specific GB18030 locale is installed.
|
||||
: ${LOCALE_ZH_CN=zh_CN.GB18030}
|
||||
: "${LOCALE_ZH_CN=zh_CN.GB18030}"
|
||||
if test $LOCALE_ZH_CN != none; then
|
||||
LC_ALL=$LOCALE_ZH_CN \
|
||||
${CHECKER} ./test-c32isblank${EXEEXT} 4 \
|
||||
|
||||
@@ -5,7 +5,7 @@ LC_ALL=C ${CHECKER} ./test-c32iscntrl${EXEEXT} 0 || exit 1
|
||||
LC_ALL=POSIX ${CHECKER} ./test-c32iscntrl${EXEEXT} 0 || exit 1
|
||||
|
||||
# Test in an ISO-8859-1 or ISO-8859-15 locale.
|
||||
: ${LOCALE_FR=fr_FR}
|
||||
: "${LOCALE_FR=fr_FR}"
|
||||
if test $LOCALE_FR != none; then
|
||||
LC_ALL=$LOCALE_FR \
|
||||
${CHECKER} ./test-c32iscntrl${EXEEXT} 1 \
|
||||
@@ -13,7 +13,7 @@ if test $LOCALE_FR != none; then
|
||||
fi
|
||||
|
||||
# Test whether a specific EUC-JP locale is installed.
|
||||
: ${LOCALE_JA=ja_JP}
|
||||
: "${LOCALE_JA=ja_JP}"
|
||||
if test $LOCALE_JA != none; then
|
||||
LC_ALL=$LOCALE_JA \
|
||||
${CHECKER} ./test-c32iscntrl${EXEEXT} 2 \
|
||||
@@ -21,7 +21,7 @@ if test $LOCALE_JA != none; then
|
||||
fi
|
||||
|
||||
# Test whether a specific UTF-8 locale is installed.
|
||||
: ${LOCALE_FR_UTF8=fr_FR.UTF-8}
|
||||
: "${LOCALE_FR_UTF8=fr_FR.UTF-8}"
|
||||
if test $LOCALE_FR_UTF8 != none; then
|
||||
LC_ALL=$LOCALE_FR_UTF8 \
|
||||
${CHECKER} ./test-c32iscntrl${EXEEXT} 3 \
|
||||
@@ -29,7 +29,7 @@ if test $LOCALE_FR_UTF8 != none; then
|
||||
fi
|
||||
|
||||
# Test whether a specific GB18030 locale is installed.
|
||||
: ${LOCALE_ZH_CN=zh_CN.GB18030}
|
||||
: "${LOCALE_ZH_CN=zh_CN.GB18030}"
|
||||
if test $LOCALE_ZH_CN != none; then
|
||||
LC_ALL=$LOCALE_ZH_CN \
|
||||
${CHECKER} ./test-c32iscntrl${EXEEXT} 4 \
|
||||
|
||||
@@ -5,7 +5,7 @@ LC_ALL=C ${CHECKER} ./test-c32isdigit${EXEEXT} 0 || exit 1
|
||||
LC_ALL=POSIX ${CHECKER} ./test-c32isdigit${EXEEXT} 0 || exit 1
|
||||
|
||||
# Test in an ISO-8859-1 or ISO-8859-15 locale.
|
||||
: ${LOCALE_FR=fr_FR}
|
||||
: "${LOCALE_FR=fr_FR}"
|
||||
if test $LOCALE_FR != none; then
|
||||
LC_ALL=$LOCALE_FR \
|
||||
${CHECKER} ./test-c32isdigit${EXEEXT} 1 \
|
||||
@@ -13,7 +13,7 @@ if test $LOCALE_FR != none; then
|
||||
fi
|
||||
|
||||
# Test whether a specific EUC-JP locale is installed.
|
||||
: ${LOCALE_JA=ja_JP}
|
||||
: "${LOCALE_JA=ja_JP}"
|
||||
if test $LOCALE_JA != none; then
|
||||
LC_ALL=$LOCALE_JA \
|
||||
${CHECKER} ./test-c32isdigit${EXEEXT} 2 \
|
||||
@@ -21,7 +21,7 @@ if test $LOCALE_JA != none; then
|
||||
fi
|
||||
|
||||
# Test whether a specific UTF-8 locale is installed.
|
||||
: ${LOCALE_FR_UTF8=fr_FR.UTF-8}
|
||||
: "${LOCALE_FR_UTF8=fr_FR.UTF-8}"
|
||||
if test $LOCALE_FR_UTF8 != none; then
|
||||
LC_ALL=$LOCALE_FR_UTF8 \
|
||||
${CHECKER} ./test-c32isdigit${EXEEXT} 3 \
|
||||
@@ -29,7 +29,7 @@ if test $LOCALE_FR_UTF8 != none; then
|
||||
fi
|
||||
|
||||
# Test whether a specific GB18030 locale is installed.
|
||||
: ${LOCALE_ZH_CN=zh_CN.GB18030}
|
||||
: "${LOCALE_ZH_CN=zh_CN.GB18030}"
|
||||
if test $LOCALE_ZH_CN != none; then
|
||||
LC_ALL=$LOCALE_ZH_CN \
|
||||
${CHECKER} ./test-c32isdigit${EXEEXT} 4 \
|
||||
|
||||
@@ -5,7 +5,7 @@ LC_ALL=C ${CHECKER} ./test-c32isgraph${EXEEXT} 0 || exit 1
|
||||
LC_ALL=POSIX ${CHECKER} ./test-c32isgraph${EXEEXT} 0 || exit 1
|
||||
|
||||
# Test in an ISO-8859-1 or ISO-8859-15 locale.
|
||||
: ${LOCALE_FR=fr_FR}
|
||||
: "${LOCALE_FR=fr_FR}"
|
||||
if test $LOCALE_FR != none; then
|
||||
LC_ALL=$LOCALE_FR \
|
||||
${CHECKER} ./test-c32isgraph${EXEEXT} 1 \
|
||||
@@ -13,7 +13,7 @@ if test $LOCALE_FR != none; then
|
||||
fi
|
||||
|
||||
# Test whether a specific EUC-JP locale is installed.
|
||||
: ${LOCALE_JA=ja_JP}
|
||||
: "${LOCALE_JA=ja_JP}"
|
||||
if test $LOCALE_JA != none; then
|
||||
LC_ALL=$LOCALE_JA \
|
||||
${CHECKER} ./test-c32isgraph${EXEEXT} 2 \
|
||||
@@ -21,7 +21,7 @@ if test $LOCALE_JA != none; then
|
||||
fi
|
||||
|
||||
# Test whether a specific UTF-8 locale is installed.
|
||||
: ${LOCALE_FR_UTF8=fr_FR.UTF-8}
|
||||
: "${LOCALE_FR_UTF8=fr_FR.UTF-8}"
|
||||
if test $LOCALE_FR_UTF8 != none; then
|
||||
LC_ALL=$LOCALE_FR_UTF8 \
|
||||
${CHECKER} ./test-c32isgraph${EXEEXT} 3 \
|
||||
@@ -29,7 +29,7 @@ if test $LOCALE_FR_UTF8 != none; then
|
||||
fi
|
||||
|
||||
# Test whether a specific GB18030 locale is installed.
|
||||
: ${LOCALE_ZH_CN=zh_CN.GB18030}
|
||||
: "${LOCALE_ZH_CN=zh_CN.GB18030}"
|
||||
if test $LOCALE_ZH_CN != none; then
|
||||
LC_ALL=$LOCALE_ZH_CN \
|
||||
${CHECKER} ./test-c32isgraph${EXEEXT} 4 \
|
||||
|
||||
@@ -5,7 +5,7 @@ LC_ALL=C ${CHECKER} ./test-c32islower${EXEEXT} 0 || exit 1
|
||||
LC_ALL=POSIX ${CHECKER} ./test-c32islower${EXEEXT} 0 || exit 1
|
||||
|
||||
# Test in an ISO-8859-1 or ISO-8859-15 locale.
|
||||
: ${LOCALE_FR=fr_FR}
|
||||
: "${LOCALE_FR=fr_FR}"
|
||||
if test $LOCALE_FR != none; then
|
||||
LC_ALL=$LOCALE_FR \
|
||||
${CHECKER} ./test-c32islower${EXEEXT} 1 \
|
||||
@@ -13,7 +13,7 @@ if test $LOCALE_FR != none; then
|
||||
fi
|
||||
|
||||
# Test whether a specific EUC-JP locale is installed.
|
||||
: ${LOCALE_JA=ja_JP}
|
||||
: "${LOCALE_JA=ja_JP}"
|
||||
if test $LOCALE_JA != none; then
|
||||
LC_ALL=$LOCALE_JA \
|
||||
${CHECKER} ./test-c32islower${EXEEXT} 2 \
|
||||
@@ -21,7 +21,7 @@ if test $LOCALE_JA != none; then
|
||||
fi
|
||||
|
||||
# Test whether a specific UTF-8 locale is installed.
|
||||
: ${LOCALE_FR_UTF8=fr_FR.UTF-8}
|
||||
: "${LOCALE_FR_UTF8=fr_FR.UTF-8}"
|
||||
if test $LOCALE_FR_UTF8 != none; then
|
||||
LC_ALL=$LOCALE_FR_UTF8 \
|
||||
${CHECKER} ./test-c32islower${EXEEXT} 3 \
|
||||
@@ -29,7 +29,7 @@ if test $LOCALE_FR_UTF8 != none; then
|
||||
fi
|
||||
|
||||
# Test whether a specific GB18030 locale is installed.
|
||||
: ${LOCALE_ZH_CN=zh_CN.GB18030}
|
||||
: "${LOCALE_ZH_CN=zh_CN.GB18030}"
|
||||
if test $LOCALE_ZH_CN != none; then
|
||||
LC_ALL=$LOCALE_ZH_CN \
|
||||
${CHECKER} ./test-c32islower${EXEEXT} 4 \
|
||||
|
||||
@@ -5,7 +5,7 @@ LC_ALL=C ${CHECKER} ./test-c32isprint${EXEEXT} 0 || exit 1
|
||||
LC_ALL=POSIX ${CHECKER} ./test-c32isprint${EXEEXT} 0 || exit 1
|
||||
|
||||
# Test in an ISO-8859-1 or ISO-8859-15 locale.
|
||||
: ${LOCALE_FR=fr_FR}
|
||||
: "${LOCALE_FR=fr_FR}"
|
||||
if test $LOCALE_FR != none; then
|
||||
LC_ALL=$LOCALE_FR \
|
||||
${CHECKER} ./test-c32isprint${EXEEXT} 1 \
|
||||
@@ -13,7 +13,7 @@ if test $LOCALE_FR != none; then
|
||||
fi
|
||||
|
||||
# Test whether a specific EUC-JP locale is installed.
|
||||
: ${LOCALE_JA=ja_JP}
|
||||
: "${LOCALE_JA=ja_JP}"
|
||||
if test $LOCALE_JA != none; then
|
||||
LC_ALL=$LOCALE_JA \
|
||||
${CHECKER} ./test-c32isprint${EXEEXT} 2 \
|
||||
@@ -21,7 +21,7 @@ if test $LOCALE_JA != none; then
|
||||
fi
|
||||
|
||||
# Test whether a specific UTF-8 locale is installed.
|
||||
: ${LOCALE_FR_UTF8=fr_FR.UTF-8}
|
||||
: "${LOCALE_FR_UTF8=fr_FR.UTF-8}"
|
||||
if test $LOCALE_FR_UTF8 != none; then
|
||||
LC_ALL=$LOCALE_FR_UTF8 \
|
||||
${CHECKER} ./test-c32isprint${EXEEXT} 3 \
|
||||
@@ -29,7 +29,7 @@ if test $LOCALE_FR_UTF8 != none; then
|
||||
fi
|
||||
|
||||
# Test whether a specific GB18030 locale is installed.
|
||||
: ${LOCALE_ZH_CN=zh_CN.GB18030}
|
||||
: "${LOCALE_ZH_CN=zh_CN.GB18030}"
|
||||
if test $LOCALE_ZH_CN != none; then
|
||||
LC_ALL=$LOCALE_ZH_CN \
|
||||
${CHECKER} ./test-c32isprint${EXEEXT} 4 \
|
||||
|
||||
@@ -5,7 +5,7 @@ LC_ALL=C ${CHECKER} ./test-c32ispunct${EXEEXT} 0 || exit 1
|
||||
LC_ALL=POSIX ${CHECKER} ./test-c32ispunct${EXEEXT} 0 || exit 1
|
||||
|
||||
# Test in an ISO-8859-1 or ISO-8859-15 locale.
|
||||
: ${LOCALE_FR=fr_FR}
|
||||
: "${LOCALE_FR=fr_FR}"
|
||||
if test $LOCALE_FR != none; then
|
||||
LC_ALL=$LOCALE_FR \
|
||||
${CHECKER} ./test-c32ispunct${EXEEXT} 1 \
|
||||
@@ -13,7 +13,7 @@ if test $LOCALE_FR != none; then
|
||||
fi
|
||||
|
||||
# Test whether a specific EUC-JP locale is installed.
|
||||
: ${LOCALE_JA=ja_JP}
|
||||
: "${LOCALE_JA=ja_JP}"
|
||||
if test $LOCALE_JA != none; then
|
||||
LC_ALL=$LOCALE_JA \
|
||||
${CHECKER} ./test-c32ispunct${EXEEXT} 2 \
|
||||
@@ -21,7 +21,7 @@ if test $LOCALE_JA != none; then
|
||||
fi
|
||||
|
||||
# Test whether a specific UTF-8 locale is installed.
|
||||
: ${LOCALE_FR_UTF8=fr_FR.UTF-8}
|
||||
: "${LOCALE_FR_UTF8=fr_FR.UTF-8}"
|
||||
if test $LOCALE_FR_UTF8 != none; then
|
||||
LC_ALL=$LOCALE_FR_UTF8 \
|
||||
${CHECKER} ./test-c32ispunct${EXEEXT} 3 \
|
||||
@@ -29,7 +29,7 @@ if test $LOCALE_FR_UTF8 != none; then
|
||||
fi
|
||||
|
||||
# Test whether a specific GB18030 locale is installed.
|
||||
: ${LOCALE_ZH_CN=zh_CN.GB18030}
|
||||
: "${LOCALE_ZH_CN=zh_CN.GB18030}"
|
||||
if test $LOCALE_ZH_CN != none; then
|
||||
LC_ALL=$LOCALE_ZH_CN \
|
||||
${CHECKER} ./test-c32ispunct${EXEEXT} 4 \
|
||||
|
||||
@@ -5,7 +5,7 @@ LC_ALL=C ${CHECKER} ./test-c32isspace${EXEEXT} 0 || exit 1
|
||||
LC_ALL=POSIX ${CHECKER} ./test-c32isspace${EXEEXT} 0 || exit 1
|
||||
|
||||
# Test in an ISO-8859-1 or ISO-8859-15 locale.
|
||||
: ${LOCALE_FR=fr_FR}
|
||||
: "${LOCALE_FR=fr_FR}"
|
||||
if test $LOCALE_FR != none; then
|
||||
LC_ALL=$LOCALE_FR \
|
||||
${CHECKER} ./test-c32isspace${EXEEXT} 1 \
|
||||
@@ -13,7 +13,7 @@ if test $LOCALE_FR != none; then
|
||||
fi
|
||||
|
||||
# Test whether a specific EUC-JP locale is installed.
|
||||
: ${LOCALE_JA=ja_JP}
|
||||
: "${LOCALE_JA=ja_JP}"
|
||||
if test $LOCALE_JA != none; then
|
||||
LC_ALL=$LOCALE_JA \
|
||||
${CHECKER} ./test-c32isspace${EXEEXT} 2 \
|
||||
@@ -21,7 +21,7 @@ if test $LOCALE_JA != none; then
|
||||
fi
|
||||
|
||||
# Test whether a specific UTF-8 locale is installed.
|
||||
: ${LOCALE_FR_UTF8=fr_FR.UTF-8}
|
||||
: "${LOCALE_FR_UTF8=fr_FR.UTF-8}"
|
||||
if test $LOCALE_FR_UTF8 != none; then
|
||||
LC_ALL=$LOCALE_FR_UTF8 \
|
||||
${CHECKER} ./test-c32isspace${EXEEXT} 3 \
|
||||
@@ -29,7 +29,7 @@ if test $LOCALE_FR_UTF8 != none; then
|
||||
fi
|
||||
|
||||
# Test whether a specific GB18030 locale is installed.
|
||||
: ${LOCALE_ZH_CN=zh_CN.GB18030}
|
||||
: "${LOCALE_ZH_CN=zh_CN.GB18030}"
|
||||
if test $LOCALE_ZH_CN != none; then
|
||||
LC_ALL=$LOCALE_ZH_CN \
|
||||
${CHECKER} ./test-c32isspace${EXEEXT} 4 \
|
||||
|
||||
@@ -5,7 +5,7 @@ LC_ALL=C ${CHECKER} ./test-c32isupper${EXEEXT} 0 || exit 1
|
||||
LC_ALL=POSIX ${CHECKER} ./test-c32isupper${EXEEXT} 0 || exit 1
|
||||
|
||||
# Test in an ISO-8859-1 or ISO-8859-15 locale.
|
||||
: ${LOCALE_FR=fr_FR}
|
||||
: "${LOCALE_FR=fr_FR}"
|
||||
if test $LOCALE_FR != none; then
|
||||
LC_ALL=$LOCALE_FR \
|
||||
${CHECKER} ./test-c32isupper${EXEEXT} 1 \
|
||||
@@ -13,7 +13,7 @@ if test $LOCALE_FR != none; then
|
||||
fi
|
||||
|
||||
# Test whether a specific EUC-JP locale is installed.
|
||||
: ${LOCALE_JA=ja_JP}
|
||||
: "${LOCALE_JA=ja_JP}"
|
||||
if test $LOCALE_JA != none; then
|
||||
LC_ALL=$LOCALE_JA \
|
||||
${CHECKER} ./test-c32isupper${EXEEXT} 2 \
|
||||
@@ -21,7 +21,7 @@ if test $LOCALE_JA != none; then
|
||||
fi
|
||||
|
||||
# Test whether a specific UTF-8 locale is installed.
|
||||
: ${LOCALE_FR_UTF8=fr_FR.UTF-8}
|
||||
: "${LOCALE_FR_UTF8=fr_FR.UTF-8}"
|
||||
if test $LOCALE_FR_UTF8 != none; then
|
||||
LC_ALL=$LOCALE_FR_UTF8 \
|
||||
${CHECKER} ./test-c32isupper${EXEEXT} 3 \
|
||||
@@ -29,7 +29,7 @@ if test $LOCALE_FR_UTF8 != none; then
|
||||
fi
|
||||
|
||||
# Test whether a specific GB18030 locale is installed.
|
||||
: ${LOCALE_ZH_CN=zh_CN.GB18030}
|
||||
: "${LOCALE_ZH_CN=zh_CN.GB18030}"
|
||||
if test $LOCALE_ZH_CN != none; then
|
||||
LC_ALL=$LOCALE_ZH_CN \
|
||||
${CHECKER} ./test-c32isupper${EXEEXT} 4 \
|
||||
|
||||
@@ -5,7 +5,7 @@ LC_ALL=C ${CHECKER} ./test-c32isxdigit${EXEEXT} 0 || exit 1
|
||||
LC_ALL=POSIX ${CHECKER} ./test-c32isxdigit${EXEEXT} 0 || exit 1
|
||||
|
||||
# Test in an ISO-8859-1 or ISO-8859-15 locale.
|
||||
: ${LOCALE_FR=fr_FR}
|
||||
: "${LOCALE_FR=fr_FR}"
|
||||
if test $LOCALE_FR != none; then
|
||||
LC_ALL=$LOCALE_FR \
|
||||
${CHECKER} ./test-c32isxdigit${EXEEXT} 1 \
|
||||
@@ -13,7 +13,7 @@ if test $LOCALE_FR != none; then
|
||||
fi
|
||||
|
||||
# Test whether a specific EUC-JP locale is installed.
|
||||
: ${LOCALE_JA=ja_JP}
|
||||
: "${LOCALE_JA=ja_JP}"
|
||||
if test $LOCALE_JA != none; then
|
||||
LC_ALL=$LOCALE_JA \
|
||||
${CHECKER} ./test-c32isxdigit${EXEEXT} 2 \
|
||||
@@ -21,7 +21,7 @@ if test $LOCALE_JA != none; then
|
||||
fi
|
||||
|
||||
# Test whether a specific UTF-8 locale is installed.
|
||||
: ${LOCALE_FR_UTF8=fr_FR.UTF-8}
|
||||
: "${LOCALE_FR_UTF8=fr_FR.UTF-8}"
|
||||
if test $LOCALE_FR_UTF8 != none; then
|
||||
LC_ALL=$LOCALE_FR_UTF8 \
|
||||
${CHECKER} ./test-c32isxdigit${EXEEXT} 3 \
|
||||
@@ -29,7 +29,7 @@ if test $LOCALE_FR_UTF8 != none; then
|
||||
fi
|
||||
|
||||
# Test whether a specific GB18030 locale is installed.
|
||||
: ${LOCALE_ZH_CN=zh_CN.GB18030}
|
||||
: "${LOCALE_ZH_CN=zh_CN.GB18030}"
|
||||
if test $LOCALE_ZH_CN != none; then
|
||||
LC_ALL=$LOCALE_ZH_CN \
|
||||
${CHECKER} ./test-c32isxdigit${EXEEXT} 4 \
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#!/bin/sh
|
||||
|
||||
# Test in an ISO-8859-1 or ISO-8859-15 locale.
|
||||
: ${LOCALE_FR=fr_FR}
|
||||
: "${LOCALE_FR=fr_FR}"
|
||||
if test $LOCALE_FR != none; then
|
||||
LC_ALL=$LOCALE_FR \
|
||||
${CHECKER} ./test-c32rtomb${EXEEXT} 1 \
|
||||
@@ -9,7 +9,7 @@ if test $LOCALE_FR != none; then
|
||||
fi
|
||||
|
||||
# Test whether a specific UTF-8 locale is installed.
|
||||
: ${LOCALE_FR_UTF8=fr_FR.UTF-8}
|
||||
: "${LOCALE_FR_UTF8=fr_FR.UTF-8}"
|
||||
if test $LOCALE_FR_UTF8 != none; then
|
||||
LC_ALL=$LOCALE_FR_UTF8 \
|
||||
${CHECKER} ./test-c32rtomb${EXEEXT} 2 \
|
||||
@@ -17,7 +17,7 @@ if test $LOCALE_FR_UTF8 != none; then
|
||||
fi
|
||||
|
||||
# Test whether a specific EUC-JP locale is installed.
|
||||
: ${LOCALE_JA=ja_JP}
|
||||
: "${LOCALE_JA=ja_JP}"
|
||||
if test $LOCALE_JA != none; then
|
||||
LC_ALL=$LOCALE_JA \
|
||||
${CHECKER} ./test-c32rtomb${EXEEXT} 3 \
|
||||
@@ -25,7 +25,7 @@ if test $LOCALE_JA != none; then
|
||||
fi
|
||||
|
||||
# Test whether a specific GB18030 locale is installed.
|
||||
: ${LOCALE_ZH_CN=zh_CN.GB18030}
|
||||
: "${LOCALE_ZH_CN=zh_CN.GB18030}"
|
||||
if test $LOCALE_ZH_CN != none; then
|
||||
LC_ALL=$LOCALE_ZH_CN \
|
||||
${CHECKER} ./test-c32rtomb${EXEEXT} 4 \
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#!/bin/sh
|
||||
|
||||
# Test in an ISO-8859-1 or ISO-8859-15 locale.
|
||||
: ${LOCALE_FR=fr_FR}
|
||||
: "${LOCALE_FR=fr_FR}"
|
||||
if test $LOCALE_FR = none; then
|
||||
if test -f /usr/bin/localedef; then
|
||||
echo "Skipping test: no traditional french locale is installed"
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#!/bin/sh
|
||||
|
||||
# Test whether a specific UTF-8 locale is installed.
|
||||
: ${LOCALE_FR_UTF8=fr_FR.UTF-8}
|
||||
: "${LOCALE_FR_UTF8=fr_FR.UTF-8}"
|
||||
if test $LOCALE_FR_UTF8 = none; then
|
||||
if test -f /usr/bin/localedef; then
|
||||
echo "Skipping test: no french Unicode locale is installed"
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#!/bin/sh
|
||||
|
||||
# Test whether a specific EUC-JP locale is installed.
|
||||
: ${LOCALE_JA=ja_JP}
|
||||
: "${LOCALE_JA=ja_JP}"
|
||||
if test $LOCALE_JA = none; then
|
||||
if test -f /usr/bin/localedef; then
|
||||
echo "Skipping test: no traditional japanese locale is installed"
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#!/bin/sh
|
||||
|
||||
# Test whether a specific GB18030 locale is installed.
|
||||
: ${LOCALE_ZH_CN=zh_CN.GB18030}
|
||||
: "${LOCALE_ZH_CN=zh_CN.GB18030}"
|
||||
if test $LOCALE_ZH_CN = none; then
|
||||
if test -f /usr/bin/localedef; then
|
||||
echo "Skipping test: no transitional chinese locale is installed"
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#!/bin/sh
|
||||
|
||||
# Test in an ISO-8859-1 or ISO-8859-15 locale.
|
||||
: ${LOCALE_FR=fr_FR}
|
||||
: "${LOCALE_FR=fr_FR}"
|
||||
if test $LOCALE_FR = none; then
|
||||
if test -f /usr/bin/localedef; then
|
||||
echo "Skipping test: no traditional french locale is installed"
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#!/bin/sh
|
||||
|
||||
# Test whether a specific UTF-8 locale is installed.
|
||||
: ${LOCALE_FR_UTF8=fr_FR.UTF-8}
|
||||
: "${LOCALE_FR_UTF8=fr_FR.UTF-8}"
|
||||
if test $LOCALE_FR_UTF8 = none; then
|
||||
if test -f /usr/bin/localedef; then
|
||||
echo "Skipping test: no french Unicode locale is installed"
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#!/bin/sh
|
||||
|
||||
# Test whether a specific EUC-JP locale is installed.
|
||||
: ${LOCALE_JA=ja_JP}
|
||||
: "${LOCALE_JA=ja_JP}"
|
||||
if test $LOCALE_JA = none; then
|
||||
if test -f /usr/bin/localedef; then
|
||||
echo "Skipping test: no traditional japanese locale is installed"
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#!/bin/sh
|
||||
|
||||
# Test whether a specific GB18030 locale is installed.
|
||||
: ${LOCALE_ZH_CN=zh_CN.GB18030}
|
||||
: "${LOCALE_ZH_CN=zh_CN.GB18030}"
|
||||
if test $LOCALE_ZH_CN = none; then
|
||||
if test -f /usr/bin/localedef; then
|
||||
echo "Skipping test: no transitional chinese locale is installed"
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#!/bin/sh
|
||||
|
||||
# Test in an ISO-8859-1 or ISO-8859-15 locale.
|
||||
: ${LOCALE_FR=fr_FR}
|
||||
: "${LOCALE_FR=fr_FR}"
|
||||
if test $LOCALE_FR = none; then
|
||||
if test -f /usr/bin/localedef; then
|
||||
echo "Skipping test: no traditional french locale is installed"
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#!/bin/sh
|
||||
|
||||
# Test whether a specific UTF-8 locale is installed.
|
||||
: ${LOCALE_FR_UTF8=fr_FR.UTF-8}
|
||||
: "${LOCALE_FR_UTF8=fr_FR.UTF-8}"
|
||||
if test $LOCALE_FR_UTF8 = none; then
|
||||
if test -f /usr/bin/localedef; then
|
||||
echo "Skipping test: no french Unicode locale is installed"
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#!/bin/sh
|
||||
|
||||
# Test whether a specific EUC-JP locale is installed.
|
||||
: ${LOCALE_JA=ja_JP}
|
||||
: "${LOCALE_JA=ja_JP}"
|
||||
if test $LOCALE_JA = none; then
|
||||
if test -f /usr/bin/localedef; then
|
||||
echo "Skipping test: no traditional japanese locale is installed"
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#!/bin/sh
|
||||
|
||||
# Test whether a specific GB18030 locale is installed.
|
||||
: ${LOCALE_ZH_CN=zh_CN.GB18030}
|
||||
: "${LOCALE_ZH_CN=zh_CN.GB18030}"
|
||||
if test $LOCALE_ZH_CN = none; then
|
||||
if test -f /usr/bin/localedef; then
|
||||
echo "Skipping test: no transitional chinese locale is installed"
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#!/bin/sh
|
||||
: ${srcdir=.}
|
||||
: "${srcdir=.}"
|
||||
. "$srcdir/init.sh"; path_prepend_ .
|
||||
|
||||
echo Hello world > in.tmp
|
||||
|
||||
@@ -18,7 +18,7 @@ func_tmpdir ()
|
||||
# Use the environment variable TMPDIR, falling back to /tmp. This allows
|
||||
# users to specify a different temporary directory, for example, if their
|
||||
# /tmp is filled up or too small.
|
||||
: ${TMPDIR=/tmp}
|
||||
: "${TMPDIR=/tmp}"
|
||||
{
|
||||
# Use the mktemp program if available. If not available, hide the error
|
||||
# message.
|
||||
|
||||
@@ -12,7 +12,7 @@ func_tmpdir ()
|
||||
# Use the environment variable TMPDIR, falling back to /tmp. This allows
|
||||
# users to specify a different temporary directory, for example, if their
|
||||
# /tmp is filled up or too small.
|
||||
: ${TMPDIR=/tmp}
|
||||
: "${TMPDIR=/tmp}"
|
||||
{
|
||||
# Use the mktemp program if available. If not available, hide the error
|
||||
# message.
|
||||
|
||||
@@ -7,7 +7,7 @@ tmpfiles="$tmpfiles t-dprintf-posix.tmp t-dprintf-posix.out"
|
||||
${CHECKER} ./test-dprintf-posix${EXEEXT} > t-dprintf-posix.tmp || exit 1
|
||||
LC_ALL=C tr -d '\r' < t-dprintf-posix.tmp > t-dprintf-posix.out || exit 1
|
||||
|
||||
: ${DIFF=diff}
|
||||
: "${DIFF=diff}"
|
||||
${DIFF} "${srcdir}/test-printf-posix.output" t-dprintf-posix.out
|
||||
result=$?
|
||||
|
||||
|
||||
@@ -38,7 +38,7 @@ argv[9] = |foo|
|
||||
argv[10] = ||
|
||||
EOF
|
||||
|
||||
: ${DIFF=diff}
|
||||
: "${DIFF=diff}"
|
||||
${DIFF} test-execl.ok test-execl.out
|
||||
result=$?
|
||||
|
||||
|
||||
@@ -39,7 +39,7 @@ argv[10] = ||
|
||||
Hommingberg = |Gepardenforelle|
|
||||
EOF
|
||||
|
||||
: ${DIFF=diff}
|
||||
: "${DIFF=diff}"
|
||||
${DIFF} test-execle.ok test-execle.out
|
||||
result=$?
|
||||
|
||||
|
||||
@@ -41,7 +41,7 @@ argv[9] = |foo|
|
||||
argv[10] = ||
|
||||
EOF
|
||||
|
||||
: ${DIFF=diff}
|
||||
: "${DIFF=diff}"
|
||||
${DIFF} test-execlp.ok test-execlp.out
|
||||
result=$?
|
||||
|
||||
|
||||
@@ -38,7 +38,7 @@ argv[9] = |foo|
|
||||
argv[10] = ||
|
||||
EOF
|
||||
|
||||
: ${DIFF=diff}
|
||||
: "${DIFF=diff}"
|
||||
${DIFF} test-execv.ok test-execv.out
|
||||
result=$?
|
||||
|
||||
|
||||
@@ -39,7 +39,7 @@ argv[10] = ||
|
||||
Hommingberg = |Gepardenforelle|
|
||||
EOF
|
||||
|
||||
: ${DIFF=diff}
|
||||
: "${DIFF=diff}"
|
||||
${DIFF} test-execve.ok test-execve.out
|
||||
result=$?
|
||||
|
||||
|
||||
@@ -41,7 +41,7 @@ argv[9] = |foo|
|
||||
argv[10] = ||
|
||||
EOF
|
||||
|
||||
: ${DIFF=diff}
|
||||
: "${DIFF=diff}"
|
||||
${DIFF} test-execvp.ok test-execvp.out
|
||||
result=$?
|
||||
|
||||
|
||||
@@ -42,7 +42,7 @@ argv[10] = ||
|
||||
Hommingberg = |Gepardenforelle|
|
||||
EOF
|
||||
|
||||
: ${DIFF=diff}
|
||||
: "${DIFF=diff}"
|
||||
${DIFF} test-execvpe.ok test-execvpe.out
|
||||
result=$?
|
||||
|
||||
|
||||
@@ -18,7 +18,7 @@ func_tmpdir ()
|
||||
# Use the environment variable TMPDIR, falling back to /tmp. This allows
|
||||
# users to specify a different temporary directory, for example, if their
|
||||
# /tmp is filled up or too small.
|
||||
: ${TMPDIR=/tmp}
|
||||
: "${TMPDIR=/tmp}"
|
||||
{
|
||||
# Use the mktemp program if available. If not available, hide the error
|
||||
# message.
|
||||
|
||||
@@ -7,7 +7,7 @@ tmpfiles="$tmpfiles t-fprintf-posix.tmp t-fprintf-posix.out"
|
||||
${CHECKER} ./test-fprintf-posix${EXEEXT} > t-fprintf-posix.tmp || exit 1
|
||||
LC_ALL=C tr -d '\r' < t-fprintf-posix.tmp > t-fprintf-posix.out || exit 1
|
||||
|
||||
: ${DIFF=diff}
|
||||
: "${DIFF=diff}"
|
||||
${DIFF} "${srcdir}/test-printf-posix.output" t-fprintf-posix.out
|
||||
result=$?
|
||||
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with this program. If not, see <https://www.gnu.org/licenses/>. */
|
||||
|
||||
: ${srcdir=.}
|
||||
: "${srcdir=.}"
|
||||
. "$srcdir/init.sh"; path_prepend_ .
|
||||
|
||||
fail=0
|
||||
|
||||
@@ -5,7 +5,7 @@ LC_ALL=C ${CHECKER} ./test-iswdigit${EXEEXT} 0 || exit 1
|
||||
LC_ALL=POSIX ${CHECKER} ./test-iswdigit${EXEEXT} 0 || exit 1
|
||||
|
||||
# Test in an ISO-8859-1 or ISO-8859-15 locale.
|
||||
: ${LOCALE_FR=fr_FR}
|
||||
: "${LOCALE_FR=fr_FR}"
|
||||
if test $LOCALE_FR != none; then
|
||||
LC_ALL=$LOCALE_FR \
|
||||
${CHECKER} ./test-iswdigit${EXEEXT} 1 \
|
||||
@@ -13,7 +13,7 @@ if test $LOCALE_FR != none; then
|
||||
fi
|
||||
|
||||
# Test whether a specific EUC-JP locale is installed.
|
||||
: ${LOCALE_JA=ja_JP}
|
||||
: "${LOCALE_JA=ja_JP}"
|
||||
if test $LOCALE_JA != none; then
|
||||
LC_ALL=$LOCALE_JA \
|
||||
${CHECKER} ./test-iswdigit${EXEEXT} 2 \
|
||||
@@ -21,7 +21,7 @@ if test $LOCALE_JA != none; then
|
||||
fi
|
||||
|
||||
# Test whether a specific UTF-8 locale is installed.
|
||||
: ${LOCALE_FR_UTF8=fr_FR.UTF-8}
|
||||
: "${LOCALE_FR_UTF8=fr_FR.UTF-8}"
|
||||
if test $LOCALE_FR_UTF8 != none; then
|
||||
LC_ALL=$LOCALE_FR_UTF8 \
|
||||
${CHECKER} ./test-iswdigit${EXEEXT} 3 \
|
||||
@@ -29,7 +29,7 @@ if test $LOCALE_FR_UTF8 != none; then
|
||||
fi
|
||||
|
||||
# Test whether a specific GB18030 locale is installed.
|
||||
: ${LOCALE_ZH_CN=zh_CN.GB18030}
|
||||
: "${LOCALE_ZH_CN=zh_CN.GB18030}"
|
||||
if test $LOCALE_ZH_CN != none; then
|
||||
LC_ALL=$LOCALE_ZH_CN \
|
||||
${CHECKER} ./test-iswdigit${EXEEXT} 4 \
|
||||
|
||||
@@ -5,7 +5,7 @@ LC_ALL=C ${CHECKER} ./test-iswxdigit${EXEEXT} 0 || exit 1
|
||||
LC_ALL=POSIX ${CHECKER} ./test-iswxdigit${EXEEXT} 0 || exit 1
|
||||
|
||||
# Test in an ISO-8859-1 or ISO-8859-15 locale.
|
||||
: ${LOCALE_FR=fr_FR}
|
||||
: "${LOCALE_FR=fr_FR}"
|
||||
if test $LOCALE_FR != none; then
|
||||
LC_ALL=$LOCALE_FR \
|
||||
${CHECKER} ./test-iswxdigit${EXEEXT} 1 \
|
||||
@@ -13,7 +13,7 @@ if test $LOCALE_FR != none; then
|
||||
fi
|
||||
|
||||
# Test whether a specific EUC-JP locale is installed.
|
||||
: ${LOCALE_JA=ja_JP}
|
||||
: "${LOCALE_JA=ja_JP}"
|
||||
if test $LOCALE_JA != none; then
|
||||
LC_ALL=$LOCALE_JA \
|
||||
${CHECKER} ./test-iswxdigit${EXEEXT} 2 \
|
||||
@@ -21,7 +21,7 @@ if test $LOCALE_JA != none; then
|
||||
fi
|
||||
|
||||
# Test whether a specific UTF-8 locale is installed.
|
||||
: ${LOCALE_FR_UTF8=fr_FR.UTF-8}
|
||||
: "${LOCALE_FR_UTF8=fr_FR.UTF-8}"
|
||||
if test $LOCALE_FR_UTF8 != none; then
|
||||
LC_ALL=$LOCALE_FR_UTF8 \
|
||||
${CHECKER} ./test-iswxdigit${EXEEXT} 3 \
|
||||
@@ -29,7 +29,7 @@ if test $LOCALE_FR_UTF8 != none; then
|
||||
fi
|
||||
|
||||
# Test whether a specific GB18030 locale is installed.
|
||||
: ${LOCALE_ZH_CN=zh_CN.GB18030}
|
||||
: "${LOCALE_ZH_CN=zh_CN.GB18030}"
|
||||
if test $LOCALE_ZH_CN != none; then
|
||||
LC_ALL=$LOCALE_ZH_CN \
|
||||
${CHECKER} ./test-iswxdigit${EXEEXT} 4 \
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#!/bin/sh
|
||||
|
||||
# Test in an ISO-8859-1 or ISO-8859-15 locale.
|
||||
: ${LOCALE_FR=fr_FR}
|
||||
: "${LOCALE_FR=fr_FR}"
|
||||
if test $LOCALE_FR = none; then
|
||||
if test -f /usr/bin/localedef; then
|
||||
echo "Skipping test: no traditional french locale is installed"
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#!/bin/sh
|
||||
|
||||
# Test whether a specific UTF-8 locale is installed.
|
||||
: ${LOCALE_FR_UTF8=fr_FR.UTF-8}
|
||||
: "${LOCALE_FR_UTF8=fr_FR.UTF-8}"
|
||||
if test $LOCALE_FR_UTF8 = none; then
|
||||
if test -f /usr/bin/localedef; then
|
||||
echo "Skipping test: no french Unicode locale is installed"
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#!/bin/sh
|
||||
|
||||
# Test whether a specific Turkish locale is installed.
|
||||
: ${LOCALE_TR_UTF8=tr_TR.UTF-8}
|
||||
: "${LOCALE_TR_UTF8=tr_TR.UTF-8}"
|
||||
if test $LOCALE_TR_UTF8 = none; then
|
||||
if test -f /usr/bin/localedef; then
|
||||
echo "Skipping test: no turkish Unicode locale is installed"
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#!/bin/sh
|
||||
|
||||
# Test in an ISO-8859-1 or ISO-8859-15 locale.
|
||||
: ${LOCALE_FR=fr_FR}
|
||||
: "${LOCALE_FR=fr_FR}"
|
||||
if test $LOCALE_FR = none; then
|
||||
if test -f /usr/bin/localedef; then
|
||||
echo "Skipping test: no traditional french locale is installed"
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#!/bin/sh
|
||||
|
||||
# Test whether a specific UTF-8 locale is installed.
|
||||
: ${LOCALE_FR_UTF8=fr_FR.UTF-8}
|
||||
: "${LOCALE_FR_UTF8=fr_FR.UTF-8}"
|
||||
if test $LOCALE_FR_UTF8 = none; then
|
||||
if test -f /usr/bin/localedef; then
|
||||
echo "Skipping test: no french Unicode locale is installed"
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#!/bin/sh
|
||||
|
||||
# Test whether a specific Turkish locale is installed.
|
||||
: ${LOCALE_TR_UTF8=tr_TR.UTF-8}
|
||||
: "${LOCALE_TR_UTF8=tr_TR.UTF-8}"
|
||||
if test $LOCALE_TR_UTF8 = none; then
|
||||
if test -f /usr/bin/localedef; then
|
||||
echo "Skipping test: no turkish Unicode locale is installed"
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#!/bin/sh
|
||||
|
||||
# Test in an ISO-8859-1 or ISO-8859-15 locale.
|
||||
: ${LOCALE_FR=fr_FR}
|
||||
: "${LOCALE_FR=fr_FR}"
|
||||
if test $LOCALE_FR = none; then
|
||||
if test -f /usr/bin/localedef; then
|
||||
echo "Skipping test: no traditional french locale is installed"
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#!/bin/sh
|
||||
|
||||
# Test whether a specific UTF-8 locale is installed.
|
||||
: ${LOCALE_FR_UTF8=fr_FR.UTF-8}
|
||||
: "${LOCALE_FR_UTF8=fr_FR.UTF-8}"
|
||||
if test $LOCALE_FR_UTF8 = none; then
|
||||
if test -f /usr/bin/localedef; then
|
||||
echo "Skipping test: no french Unicode locale is installed"
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#!/bin/sh
|
||||
|
||||
# Test whether a specific EUC-JP locale is installed.
|
||||
: ${LOCALE_JA=ja_JP}
|
||||
: "${LOCALE_JA=ja_JP}"
|
||||
if test $LOCALE_JA = none; then
|
||||
if test -f /usr/bin/localedef; then
|
||||
echo "Skipping test: no traditional japanese locale is installed"
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#!/bin/sh
|
||||
|
||||
# Test whether a specific GB18030 locale is installed.
|
||||
: ${LOCALE_ZH_CN=zh_CN.GB18030}
|
||||
: "${LOCALE_ZH_CN=zh_CN.GB18030}"
|
||||
if test $LOCALE_ZH_CN = none; then
|
||||
if test -f /usr/bin/localedef; then
|
||||
echo "Skipping test: no transitional chinese locale is installed"
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#!/bin/sh
|
||||
|
||||
# Test in an ISO-8859-1 or ISO-8859-15 locale.
|
||||
: ${LOCALE_FR=fr_FR}
|
||||
: "${LOCALE_FR=fr_FR}"
|
||||
if test $LOCALE_FR = none; then
|
||||
if test -f /usr/bin/localedef; then
|
||||
echo "Skipping test: no traditional french locale is installed"
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#!/bin/sh
|
||||
|
||||
# Test whether a specific UTF-8 locale is installed.
|
||||
: ${LOCALE_FR_UTF8=fr_FR.UTF-8}
|
||||
: "${LOCALE_FR_UTF8=fr_FR.UTF-8}"
|
||||
if test $LOCALE_FR_UTF8 = none; then
|
||||
if test -f /usr/bin/localedef; then
|
||||
echo "Skipping test: no french Unicode locale is installed"
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#!/bin/sh
|
||||
|
||||
# Test whether a specific EUC-JP locale is installed.
|
||||
: ${LOCALE_JA=ja_JP}
|
||||
: "${LOCALE_JA=ja_JP}"
|
||||
if test $LOCALE_JA = none; then
|
||||
if test -f /usr/bin/localedef; then
|
||||
echo "Skipping test: no traditional japanese locale is installed"
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#!/bin/sh
|
||||
|
||||
# Test whether a specific GB18030 locale is installed.
|
||||
: ${LOCALE_ZH_CN=zh_CN.GB18030}
|
||||
: "${LOCALE_ZH_CN=zh_CN.GB18030}"
|
||||
if test $LOCALE_ZH_CN = none; then
|
||||
if test -f /usr/bin/localedef; then
|
||||
echo "Skipping test: no transitional chinese locale is installed"
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#!/bin/sh
|
||||
|
||||
# Test whether a specific Turkish locale is installed.
|
||||
: ${LOCALE_TR_UTF8=tr_TR.UTF-8}
|
||||
: "${LOCALE_TR_UTF8=tr_TR.UTF-8}"
|
||||
if test $LOCALE_TR_UTF8 = none; then
|
||||
if test -f /usr/bin/localedef; then
|
||||
echo "Skipping test: no turkish Unicode locale is installed"
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#!/bin/sh
|
||||
|
||||
# Test whether a specific UTF-8 locale is installed.
|
||||
: ${LOCALE_FR_UTF8=fr_FR.UTF-8}
|
||||
: "${LOCALE_FR_UTF8=fr_FR.UTF-8}"
|
||||
if test $LOCALE_FR_UTF8 = none; then
|
||||
if test -f /usr/bin/localedef; then
|
||||
echo "Skipping test: no french Unicode locale is installed"
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#!/bin/sh
|
||||
|
||||
# Test whether a specific GB18030 locale is installed.
|
||||
: ${LOCALE_ZH_CN=zh_CN.GB18030}
|
||||
: "${LOCALE_ZH_CN=zh_CN.GB18030}"
|
||||
if test $LOCALE_ZH_CN = none; then
|
||||
if test -f /usr/bin/localedef; then
|
||||
echo "Skipping test: no chinese GB18030 locale is installed"
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#!/bin/sh
|
||||
|
||||
# Test whether a specific Turkish locale is installed.
|
||||
: ${LOCALE_TR_UTF8=tr_TR.UTF-8}
|
||||
: "${LOCALE_TR_UTF8=tr_TR.UTF-8}"
|
||||
if test $LOCALE_TR_UTF8 = none; then
|
||||
if test -f /usr/bin/localedef; then
|
||||
echo "Skipping test: no turkish Unicode locale is installed"
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#!/bin/sh
|
||||
|
||||
# Test whether a specific GB18030 locale is installed.
|
||||
: ${LOCALE_ZH_CN=zh_CN.GB18030}
|
||||
: "${LOCALE_ZH_CN=zh_CN.GB18030}"
|
||||
if test $LOCALE_ZH_CN = none; then
|
||||
if test -f /usr/bin/localedef; then
|
||||
echo "Skipping test: no chinese GB18030 locale is installed"
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#!/bin/sh
|
||||
|
||||
# Test whether a specific UTF-8 locale is installed.
|
||||
: ${LOCALE_FR_UTF8=fr_FR.UTF-8}
|
||||
: "${LOCALE_FR_UTF8=fr_FR.UTF-8}"
|
||||
if test $LOCALE_FR_UTF8 = none; then
|
||||
if test -f /usr/bin/localedef; then
|
||||
echo "Skipping test: no french Unicode locale is installed"
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#!/bin/sh
|
||||
|
||||
# Test whether a specific UTF-8 locale is installed.
|
||||
: ${LOCALE_FR_UTF8=fr_FR.UTF-8}
|
||||
: "${LOCALE_FR_UTF8=fr_FR.UTF-8}"
|
||||
if test $LOCALE_FR_UTF8 = none; then
|
||||
if test -f /usr/bin/localedef; then
|
||||
echo "Skipping test: no french Unicode locale is installed"
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#!/bin/sh
|
||||
|
||||
# Test whether a specific Turkish locale is installed.
|
||||
: ${LOCALE_TR_UTF8=tr_TR.UTF-8}
|
||||
: "${LOCALE_TR_UTF8=tr_TR.UTF-8}"
|
||||
if test $LOCALE_TR_UTF8 = none; then
|
||||
if test -f /usr/bin/localedef; then
|
||||
echo "Skipping test: no turkish Unicode locale is installed"
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#!/bin/sh
|
||||
|
||||
# Test in an ISO-8859-1 or ISO-8859-15 locale.
|
||||
: ${LOCALE_FR=fr_FR}
|
||||
: "${LOCALE_FR=fr_FR}"
|
||||
if test $LOCALE_FR = none; then
|
||||
if test -f /usr/bin/localedef; then
|
||||
echo "Skipping test: no traditional french locale is installed"
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#!/bin/sh
|
||||
|
||||
# Test whether a specific UTF-8 locale is installed.
|
||||
: ${LOCALE_FR_UTF8=fr_FR.UTF-8}
|
||||
: "${LOCALE_FR_UTF8=fr_FR.UTF-8}"
|
||||
if test $LOCALE_FR_UTF8 = none; then
|
||||
if test -f /usr/bin/localedef; then
|
||||
echo "Skipping test: no french Unicode locale is installed"
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#!/bin/sh
|
||||
|
||||
# Test whether a specific EUC-JP locale is installed.
|
||||
: ${LOCALE_JA=ja_JP}
|
||||
: "${LOCALE_JA=ja_JP}"
|
||||
if test $LOCALE_JA = none; then
|
||||
if test -f /usr/bin/localedef; then
|
||||
echo "Skipping test: no traditional japanese locale is installed"
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#!/bin/sh
|
||||
|
||||
# Test whether a specific GB18030 locale is installed.
|
||||
: ${LOCALE_ZH_CN=zh_CN.GB18030}
|
||||
: "${LOCALE_ZH_CN=zh_CN.GB18030}"
|
||||
if test $LOCALE_ZH_CN = none; then
|
||||
if test -f /usr/bin/localedef; then
|
||||
echo "Skipping test: no transitional chinese locale is installed"
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#!/bin/sh
|
||||
|
||||
# Test in an ISO-8859-1 or ISO-8859-15 locale.
|
||||
: ${LOCALE_FR=fr_FR}
|
||||
: "${LOCALE_FR=fr_FR}"
|
||||
if test $LOCALE_FR = none; then
|
||||
if test -f /usr/bin/localedef; then
|
||||
echo "Skipping test: no traditional french locale is installed"
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#!/bin/sh
|
||||
|
||||
# Test whether a specific UTF-8 locale is installed.
|
||||
: ${LOCALE_FR_UTF8=fr_FR.UTF-8}
|
||||
: "${LOCALE_FR_UTF8=fr_FR.UTF-8}"
|
||||
if test $LOCALE_FR_UTF8 = none; then
|
||||
if test -f /usr/bin/localedef; then
|
||||
echo "Skipping test: no french Unicode locale is installed"
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#!/bin/sh
|
||||
|
||||
# Test whether a specific EUC-JP locale is installed.
|
||||
: ${LOCALE_JA=ja_JP}
|
||||
: "${LOCALE_JA=ja_JP}"
|
||||
if test $LOCALE_JA = none; then
|
||||
if test -f /usr/bin/localedef; then
|
||||
echo "Skipping test: no traditional japanese locale is installed"
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#!/bin/sh
|
||||
|
||||
# Test whether a specific GB18030 locale is installed.
|
||||
: ${LOCALE_ZH_CN=zh_CN.GB18030}
|
||||
: "${LOCALE_ZH_CN=zh_CN.GB18030}"
|
||||
if test $LOCALE_ZH_CN = none; then
|
||||
if test -f /usr/bin/localedef; then
|
||||
echo "Skipping test: no transitional chinese locale is installed"
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#!/bin/sh
|
||||
|
||||
# Test whether a specific UTF-8 locale is installed.
|
||||
: ${LOCALE_FR_UTF8=fr_FR.UTF-8}
|
||||
: "${LOCALE_FR_UTF8=fr_FR.UTF-8}"
|
||||
if test $LOCALE_FR_UTF8 = none; then
|
||||
if test -f /usr/bin/localedef; then
|
||||
echo "Skipping test: no french Unicode locale is installed"
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#!/bin/sh
|
||||
|
||||
# Test whether a specific Turkish locale is installed.
|
||||
: ${LOCALE_TR_UTF8=tr_TR.UTF-8}
|
||||
: "${LOCALE_TR_UTF8=tr_TR.UTF-8}"
|
||||
if test $LOCALE_TR_UTF8 = none; then
|
||||
if test -f /usr/bin/localedef; then
|
||||
echo "Skipping test: no turkish Unicode locale is installed"
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#!/bin/sh
|
||||
|
||||
# Test whether a specific GB18030 locale is installed.
|
||||
: ${LOCALE_ZH_CN=zh_CN.GB18030}
|
||||
: "${LOCALE_ZH_CN=zh_CN.GB18030}"
|
||||
if test $LOCALE_ZH_CN = none; then
|
||||
if test -f /usr/bin/localedef; then
|
||||
echo "Skipping test: no chinese GB18030 locale is installed"
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#!/bin/sh
|
||||
|
||||
# Test in an ISO-8859-1 or ISO-8859-15 locale.
|
||||
: ${LOCALE_FR=fr_FR}
|
||||
: "${LOCALE_FR=fr_FR}"
|
||||
if test $LOCALE_FR = none; then
|
||||
if test -f /usr/bin/localedef; then
|
||||
echo "Skipping test: no traditional french locale is installed"
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#!/bin/sh
|
||||
|
||||
# Test whether a specific UTF-8 locale is installed.
|
||||
: ${LOCALE_FR_UTF8=fr_FR.UTF-8}
|
||||
: "${LOCALE_FR_UTF8=fr_FR.UTF-8}"
|
||||
if test $LOCALE_FR_UTF8 = none; then
|
||||
if test -f /usr/bin/localedef; then
|
||||
echo "Skipping test: no french Unicode locale is installed"
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#!/bin/sh
|
||||
|
||||
# Test whether a specific EUC-JP locale is installed.
|
||||
: ${LOCALE_JA=ja_JP}
|
||||
: "${LOCALE_JA=ja_JP}"
|
||||
if test $LOCALE_JA = none; then
|
||||
if test -f /usr/bin/localedef; then
|
||||
echo "Skipping test: no traditional japanese locale is installed"
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#!/bin/sh
|
||||
|
||||
# Test whether a specific GB18030 locale is installed.
|
||||
: ${LOCALE_ZH_CN=zh_CN.GB18030}
|
||||
: "${LOCALE_ZH_CN=zh_CN.GB18030}"
|
||||
if test $LOCALE_ZH_CN = none; then
|
||||
if test -f /usr/bin/localedef; then
|
||||
echo "Skipping test: no transitional chinese locale is installed"
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#!/bin/sh
|
||||
|
||||
# Test in an ISO-8859-1 or ISO-8859-15 locale.
|
||||
: ${LOCALE_FR=fr_FR}
|
||||
: "${LOCALE_FR=fr_FR}"
|
||||
if test $LOCALE_FR = none; then
|
||||
if test -f /usr/bin/localedef; then
|
||||
echo "Skipping test: no traditional french locale is installed"
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user