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-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-17 Bruno Haible <bruno@clisp.org>
doc: Update README.
# 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.
# 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
# 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.
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
# 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.
verbose=false
#chicken="echo (would)"
-: ${TMPDIR=/tmp}
+: "${TMPDIR=/tmp}"
dsttmp=$TMPDIR/srclist.dst
# Source `dirname $0`/srclistvars.sh first, if it exists.
# 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.
# 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.
#!/bin/sh
-: ${srcdir=.}
+: "${srcdir=.}"
. "$srcdir/init.sh"; path_prepend_ .
# Check that an atexit handler is called when main() returns normally.
#!/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"
#!/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"
#!/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"
#!/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"
#!/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"
#!/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"
#!/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"
${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
#!/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"
#!/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"
#!/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"
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 \
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 \
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 \
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 \
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 \
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 \
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 \
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 \
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 \
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 \
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 \
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 \
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 \
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 \
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 \
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 \
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 \
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 \
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 \
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 \
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 \
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 \
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 \
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 \
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 \
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 \
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 \
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 \
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 \
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 \
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 \
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 \
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 \
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 \
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 \
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 \
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 \
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 \
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 \
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 \
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 \
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 \
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 \
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 \
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 \
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 \
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 \
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 \
#!/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 \
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 \
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 \
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 \
#!/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"
#!/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"
#!/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"
#!/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"
#!/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"
#!/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"
#!/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"
#!/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"
#!/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"
#!/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"
#!/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"
#!/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"
#!/bin/sh
-: ${srcdir=.}
+: "${srcdir=.}"
. "$srcdir/init.sh"; path_prepend_ .
echo Hello world > in.tmp
# 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.
# 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.
${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=$?
argv[10] = ||
EOF
-: ${DIFF=diff}
+: "${DIFF=diff}"
${DIFF} test-execl.ok test-execl.out
result=$?
Hommingberg = |Gepardenforelle|
EOF
-: ${DIFF=diff}
+: "${DIFF=diff}"
${DIFF} test-execle.ok test-execle.out
result=$?
argv[10] = ||
EOF
-: ${DIFF=diff}
+: "${DIFF=diff}"
${DIFF} test-execlp.ok test-execlp.out
result=$?
argv[10] = ||
EOF
-: ${DIFF=diff}
+: "${DIFF=diff}"
${DIFF} test-execv.ok test-execv.out
result=$?
Hommingberg = |Gepardenforelle|
EOF
-: ${DIFF=diff}
+: "${DIFF=diff}"
${DIFF} test-execve.ok test-execve.out
result=$?
argv[10] = ||
EOF
-: ${DIFF=diff}
+: "${DIFF=diff}"
${DIFF} test-execvp.ok test-execvp.out
result=$?
Hommingberg = |Gepardenforelle|
EOF
-: ${DIFF=diff}
+: "${DIFF=diff}"
${DIFF} test-execvpe.ok test-execvpe.out
result=$?
# 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.
${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=$?
# 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
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 \
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 \
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 \
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 \
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 \
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 \
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 \
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 \
#!/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"
#!/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"
#!/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"
#!/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"
#!/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"
#!/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"
#!/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"
#!/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"
#!/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"
#!/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"
#!/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"
#!/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"
#!/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"
#!/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"
#!/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"
#!/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"
#!/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"
#!/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"
#!/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"
#!/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"
#!/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"
#!/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"
#!/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"
#!/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"
#!/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"
#!/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"
#!/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"
#!/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"
#!/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"
#!/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"
#!/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"
#!/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"
#!/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"
#!/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"
#!/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"
#!/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"
#!/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"
#!/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"
#!/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"
#!/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"
#!/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"
#!/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"
#!/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"
#!/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"
#!/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"
#!/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"
#!/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"
#!/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"
LC_ALL=C ${CHECKER} ./test-nl_langinfo${EXEEXT} 0 || exit 1
# Test whether a specific traditional locale is installed.
-: ${LOCALE_FR=fr_FR}
+: "${LOCALE_FR=fr_FR}"
if test $LOCALE_FR != none; then
LC_ALL=$LOCALE_FR ${CHECKER} ./test-nl_langinfo${EXEEXT} 1 || exit 1
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-nl_langinfo${EXEEXT} 2 || exit 1
fi
# 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.
#!/bin/sh
-: ${srcdir=.}
+: "${srcdir=.}"
. "$srcdir/init.sh"; path_prepend_ .
# Test NULL prefix. Result should not contain a number, except in lines that
${CHECKER} ./test-printf-posix${EXEEXT} > t-printf-posix.tmp || exit 1
LC_ALL=C tr -d '\r' < t-printf-posix.tmp > t-printf-posix.out || exit 1
-: ${DIFF=diff}
+: "${DIFF=diff}"
${DIFF} "${srcdir}/test-printf-posix.output" t-printf-posix.out
result=$?
# 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.
#!/bin/sh
-: ${LOCALE_FR=fr_FR}
-: ${LOCALE_FR_UTF8=fr_FR.UTF-8}
-: ${LOCALE_JA=ja_JP}
-: ${LOCALE_ZH_CN=zh_CN.GB18030}
+: "${LOCALE_FR=fr_FR}"
+: "${LOCALE_FR_UTF8=fr_FR.UTF-8}"
+: "${LOCALE_JA=ja_JP}"
+: "${LOCALE_ZH_CN=zh_CN.GB18030}"
if test $LOCALE_FR = none && test $LOCALE_FR_UTF8 = none \
&& test $LOCALE_JA = none && test $LOCALE_ZH_CN = none; then
#!/bin/sh
-: ${LOCALE_FR=fr_FR}
-: ${LOCALE_FR_UTF8=fr_FR.UTF-8}
+: "${LOCALE_FR=fr_FR}"
+: "${LOCALE_FR_UTF8=fr_FR.UTF-8}"
if test $LOCALE_FR = none && test $LOCALE_FR_UTF8 = none; then
if test -f /usr/bin/localedef; then
#!/bin/sh
-: ${LOCALE_FR=fr_FR}
-: ${LOCALE_FR_UTF8=fr_FR.UTF-8}
+: "${LOCALE_FR=fr_FR}"
+: "${LOCALE_FR_UTF8=fr_FR.UTF-8}"
if test $LOCALE_FR = none && test $LOCALE_FR_UTF8 = none; then
if test -f /usr/bin/localedef; then
#!/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"
#!/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"
#!/bin/sh
# Test whether a french locale is installed.
-: ${LOCALE_FR=fr_FR}
-: ${LOCALE_FR_UTF8=fr_FR.UTF-8}
+: "${LOCALE_FR=fr_FR}"
+: "${LOCALE_FR_UTF8=fr_FR.UTF-8}"
if test $LOCALE_FR != none; then
testlocale=$LOCALE_FR
else
# 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_ .
tmpdir=vc-cvs
# 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_ .
tmpdir=vc-git-$$
${CHECKER} ./test-vdprintf-posix${EXEEXT} > t-vdprintf-posix.tmp || exit 1
LC_ALL=C tr -d '\r' < t-vdprintf-posix.tmp > t-vdprintf-posix.out || exit 1
-: ${DIFF=diff}
+: "${DIFF=diff}"
${DIFF} "${srcdir}/test-printf-posix.output" t-vdprintf-posix.out
result=$?
${CHECKER} ./test-vfprintf-posix${EXEEXT} > t-vfprintf-posix.tmp || exit 1
LC_ALL=C tr -d '\r' < t-vfprintf-posix.tmp > t-vfprintf-posix.out || exit 1
-: ${DIFF=diff}
+: "${DIFF=diff}"
${DIFF} "${srcdir}/test-printf-posix.output" t-vfprintf-posix.out
result=$?
${CHECKER} ./test-vprintf-posix${EXEEXT} > t-vprintf-posix.tmp || exit 1
LC_ALL=C tr -d '\r' < t-vprintf-posix.tmp > t-vprintf-posix.out || exit 1
-: ${DIFF=diff}
+: "${DIFF=diff}"
${DIFF} "${srcdir}/test-printf-posix.output" t-vprintf-posix.out
result=$?
#!/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-wcrtomb${EXEEXT} 1 \
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-wcrtomb${EXEEXT} 2 \
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-wcrtomb${EXEEXT} 3 \
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-wcrtomb${EXEEXT} 4 \
#!/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"
#!/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"
#!/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"
#!/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"
#!/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"
#!/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"
#!/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"
#!/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"
${CHECKER} ./test-xprintf-posix${EXEEXT} > t-xprintf-posix.tmp || exit 1
LC_ALL=C tr -d '\r' < t-xprintf-posix.tmp > t-xprintf-posix.out || exit 1
-: ${DIFF=diff}
+: "${DIFF=diff}"
${DIFF} "${srcdir}/test-printf-posix.output" t-xprintf-posix.out
test $? = 0 || { rm -fr $tmpfiles; exit 1; }
${CHECKER} ./test-xfprintf-posix${EXEEXT} > t-xfprintf-posix.tmp || exit 1
LC_ALL=C tr -d '\r' < t-xfprintf-posix.tmp > t-xfprintf-posix.out || exit 1
-: ${DIFF=diff}
+: "${DIFF=diff}"
${DIFF} "${srcdir}/test-printf-posix.output" t-xfprintf-posix.out
test $? = 0 || { rm -fr $tmpfiles; exit 1; }
#!/bin/sh
-: ${srcdir=.}
+: "${srcdir=.}"
. "$srcdir/init.sh"; path_prepend_ .
too_big=99999999999999999999999999999999999999999999999999999999999999999999
#!/bin/sh
-: ${srcdir=.}
+: "${srcdir=.}"
. "$srcdir/init.sh"; path_prepend_ .
too_big=99999999999999999999999999999999999999999999999999999999999999999999
#!/bin/sh
-: ${srcdir=.}
+: "${srcdir=.}"
. "$srcdir/init.sh"; path_prepend_ .
too_big=99999999999999999999999999999999999999999999999999999999999999999999
#!/bin/sh
-: ${srcdir=.}
+: "${srcdir=.}"
. "$srcdir/init.sh"; path_prepend_ .
too_big=99999999999999999999999999999999999999999999999999999999999999999999
#!/bin/sh
-: ${srcdir=.}
+: "${srcdir=.}"
. "$srcdir/init.sh"; path_prepend_ .
# For now, only test with C locale
LC_ALL=C ${CHECKER} ./test-locale-language${EXEEXT} '' || exit 1
-: ${LOCALE_FR=fr_FR}
+: "${LOCALE_FR=fr_FR}"
if test $LOCALE_FR != none; then
LC_ALL=$LOCALE_FR ${CHECKER} ./test-locale-language${EXEEXT} fr || exit 1
fi
-: ${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-locale-language${EXEEXT} fr || exit 1
fi
-: ${LOCALE_JA=ja_JP}
+: "${LOCALE_JA=ja_JP}"
if test $LOCALE_JA != none; then
LC_ALL=$LOCALE_JA ${CHECKER} ./test-locale-language${EXEEXT} ja || exit 1
fi
-: ${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-locale-language${EXEEXT} tr || exit 1
fi
-: ${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-locale-language${EXEEXT} zh || exit 1
fi
#!/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"
#!/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"
#!/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"
#!/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"
#!/bin/sh
# Test in an ISO-8895-6 locale.
-: ${LOCALE_AR=ar_SA}
+: "${LOCALE_AR=ar_SA}"
if test $LOCALE_AR = none; then
if test -f /usr/bin/localedef; then
echo "Skipping test: no traditional Arabic locale is installed"
#!/bin/sh
# Test whether a traditional french locale is installed.
-: ${LOCALE_FR=fr_FR}
+: "${LOCALE_FR=fr_FR}"
if test $LOCALE_FR != none; then
testlocale=$LOCALE_FR
else
#!/bin/sh
# Test whether a french Unicode locale is installed.
-: ${LOCALE_FR_UTF8=fr_FR.UTF-8}
+: "${LOCALE_FR_UTF8=fr_FR.UTF-8}"
if test $LOCALE_FR_UTF8 != none; then
testlocale=$LOCALE_FR_UTF8
else
#!/bin/sh
# Test whether a traditional french locale is installed.
-: ${LOCALE_FR=fr_FR}
+: "${LOCALE_FR=fr_FR}"
if test $LOCALE_FR != none; then
testlocale=$LOCALE_FR
else
#!/bin/sh
# Test whether a french Unicode locale is installed.
-: ${LOCALE_FR_UTF8=fr_FR.UTF-8}
+: "${LOCALE_FR_UTF8=fr_FR.UTF-8}"
if test $LOCALE_FR_UTF8 != none; then
testlocale=$LOCALE_FR_UTF8
else
#!/bin/sh
# Test whether a traditional french locale is installed.
-: ${LOCALE_FR=fr_FR}
+: "${LOCALE_FR=fr_FR}"
if test $LOCALE_FR != none; then
testlocale=$LOCALE_FR
else
#!/bin/sh
# Test whether a french Unicode locale is installed.
-: ${LOCALE_FR_UTF8=fr_FR.UTF-8}
+: "${LOCALE_FR_UTF8=fr_FR.UTF-8}"
if test $LOCALE_FR_UTF8 != none; then
testlocale=$LOCALE_FR_UTF8
else
#!/bin/sh
# Test whether a traditional french locale is installed.
-: ${LOCALE_FR=fr_FR}
+: "${LOCALE_FR=fr_FR}"
if test $LOCALE_FR != none; then
testlocale=$LOCALE_FR
else
#!/bin/sh
# Test whether a french Unicode locale is installed.
-: ${LOCALE_FR_UTF8=fr_FR.UTF-8}
+: "${LOCALE_FR_UTF8=fr_FR.UTF-8}"
if test $LOCALE_FR_UTF8 != none; then
testlocale=$LOCALE_FR_UTF8
else
#!/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"
E01F0..10FFFF 1
EOF
-: ${DIFF=diff}
+: "${DIFF=diff}"
${DIFF} uc_width.ok uc_width.out
result=$?