]> Savannah Git Hosting - gnulib.git/commitdiff
Avoid DoS vulnerability through unsafe default assignment.
authorBruno Haible <bruno@clisp.org>
Sat, 23 Jul 2022 10:01:35 +0000 (12:01 +0200)
committerBruno Haible <bruno@clisp.org>
Wed, 31 Aug 2022 23:22:12 +0000 (01:22 +0200)
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.

157 files changed:
ChangeLog
MODULES.html.sh
build-aux/bootstrap
build-aux/csharpcomp.sh.in
build-aux/gendocs.sh
build-aux/libtool-next-version
config/srclist-update
gnulib-tool
posix-modules
tests/test-atexit.sh
tests/test-btoc32-1.sh
tests/test-btoc32-2.sh
tests/test-btowc1.sh
tests/test-btowc2.sh
tests/test-c-dtoastr.sh
tests/test-c-ldtoastr.sh
tests/test-c-snprintf.sh
tests/test-c-strcase.sh
tests/test-c-vasprintf.sh
tests/test-c-vsnprintf.sh
tests/test-c-xvasprintf.sh
tests/test-c32isalnum.sh
tests/test-c32isalpha.sh
tests/test-c32isblank.sh
tests/test-c32iscntrl.sh
tests/test-c32isdigit.sh
tests/test-c32isgraph.sh
tests/test-c32islower.sh
tests/test-c32isprint.sh
tests/test-c32ispunct.sh
tests/test-c32isspace.sh
tests/test-c32isupper.sh
tests/test-c32isxdigit.sh
tests/test-c32rtomb.sh
tests/test-c32snrtombs-1.sh
tests/test-c32snrtombs-2.sh
tests/test-c32snrtombs-3.sh
tests/test-c32snrtombs-4.sh
tests/test-c32srtombs-1.sh
tests/test-c32srtombs-2.sh
tests/test-c32srtombs-3.sh
tests/test-c32srtombs-4.sh
tests/test-c32stombs-1.sh
tests/test-c32stombs-2.sh
tests/test-c32stombs-3.sh
tests/test-c32stombs-4.sh
tests/test-closein.sh
tests/test-copy-acl.sh
tests/test-copy-file.sh
tests/test-dprintf-posix.sh
tests/test-execl.sh
tests/test-execle.sh
tests/test-execlp.sh
tests/test-execv.sh
tests/test-execve.sh
tests/test-execvp.sh
tests/test-execvpe.sh
tests/test-file-has-acl.sh
tests/test-fprintf-posix.sh
tests/test-init.sh
tests/test-iswdigit.sh
tests/test-iswxdigit.sh
tests/test-mbmemcasecmp1.sh
tests/test-mbmemcasecmp2.sh
tests/test-mbmemcasecmp3.sh
tests/test-mbmemcasecoll1.sh
tests/test-mbmemcasecoll2.sh
tests/test-mbmemcasecoll3.sh
tests/test-mbrtoc32-1.sh
tests/test-mbrtoc32-2.sh
tests/test-mbrtoc32-3.sh
tests/test-mbrtoc32-4.sh
tests/test-mbrtowc1.sh
tests/test-mbrtowc2.sh
tests/test-mbrtowc3.sh
tests/test-mbrtowc4.sh
tests/test-mbscasecmp.sh
tests/test-mbscasestr2.sh
tests/test-mbscasestr3.sh
tests/test-mbscasestr4.sh
tests/test-mbschr.sh
tests/test-mbscspn.sh
tests/test-mbsinit.sh
tests/test-mbsncasecmp.sh
tests/test-mbsnrtoc32s-1.sh
tests/test-mbsnrtoc32s-2.sh
tests/test-mbsnrtoc32s-3.sh
tests/test-mbsnrtoc32s-4.sh
tests/test-mbsnrtowcs1.sh
tests/test-mbsnrtowcs2.sh
tests/test-mbsnrtowcs3.sh
tests/test-mbsnrtowcs4.sh
tests/test-mbspbrk.sh
tests/test-mbspcasecmp.sh
tests/test-mbsrchr.sh
tests/test-mbsrtoc32s-1.sh
tests/test-mbsrtoc32s-2.sh
tests/test-mbsrtoc32s-3.sh
tests/test-mbsrtoc32s-4.sh
tests/test-mbsrtowcs1.sh
tests/test-mbsrtowcs2.sh
tests/test-mbsrtowcs3.sh
tests/test-mbsrtowcs4.sh
tests/test-mbsspn.sh
tests/test-mbsstr2.sh
tests/test-mbsstr3.sh
tests/test-mbstoc32s-1.sh
tests/test-mbstoc32s-2.sh
tests/test-mbstoc32s-3.sh
tests/test-mbstoc32s-4.sh
tests/test-nl_langinfo.sh
tests/test-parse-duration.sh
tests/test-perror.sh
tests/test-printf-posix.sh
tests/test-set-mode-acl.sh
tests/test-setlocale1.sh
tests/test-strtod1.sh
tests/test-strtold1.sh
tests/test-unicodeio2.sh
tests/test-unicodeio3.sh
tests/test-vasnprintf-posix2.sh
tests/test-vc-list-files-cvs.sh
tests/test-vc-list-files-git.sh
tests/test-vdprintf-posix.sh
tests/test-vfprintf-posix.sh
tests/test-vprintf-posix.sh
tests/test-wcrtomb.sh
tests/test-wcsnrtombs1.sh
tests/test-wcsnrtombs2.sh
tests/test-wcsnrtombs3.sh
tests/test-wcsnrtombs4.sh
tests/test-wcsrtombs1.sh
tests/test-wcsrtombs2.sh
tests/test-wcsrtombs3.sh
tests/test-wcsrtombs4.sh
tests/test-xprintf-posix.sh
tests/test-xstrtoimax.sh
tests/test-xstrtol.sh
tests/test-xstrtoll.sh
tests/test-xstrtoumax.sh
tests/test-yesno.sh
tests/unicase/test-locale-language.sh
tests/unicase/test-ulc-casecmp1.sh
tests/unicase/test-ulc-casecmp2.sh
tests/unicase/test-ulc-casecoll1.sh
tests/unicase/test-ulc-casecoll2.sh
tests/unigbrk/test-ulc-grapheme-breaks.sh
tests/unistdio/test-u16-vasnprintf2.sh
tests/unistdio/test-u16-vasnprintf3.sh
tests/unistdio/test-u32-vasnprintf2.sh
tests/unistdio/test-u32-vasnprintf3.sh
tests/unistdio/test-u8-vasnprintf2.sh
tests/unistdio/test-u8-vasnprintf3.sh
tests/unistdio/test-ulc-vasnprintf2.sh
tests/unistdio/test-ulc-vasnprintf3.sh
tests/uniwbrk/test-ulc-wordbreaks.sh
tests/uniwidth/test-uc_width2.sh

index db55ff2ec6a28ededfbcd90816fd5fd28087282b..0a10a4cf59100ce16edf39c6548b2ab17c3b0772 100644 (file)
--- a/ChangeLog
+++ b/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-17  Bruno Haible  <bruno@clisp.org>
 
        doc: Update README.
index 8ec806bb5d3a0b63c409be799e4786ebe79faad1..69baaafad15a7494d49f55ab58c38cb5327c0699 100755 (executable)
@@ -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.
index 96588618b79453146009a44bc479ddf975d4f121..0f3b52aa888394e76b2c2c7165e1394f211c042f 100755 (executable)
@@ -159,8 +159,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
index e41d7c44576bc9ac51ec0e57ef09822cbe57aa10..37c17521cd68ca742df00aeb9348b0fbefcb4fad 100644 (file)
@@ -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.
index b8d4e18b26fbe77da1b21abf013065776db9312e..9677802de7179e9c8382f31dc6e207c3dd99a1d5 100755 (executable)
@@ -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
 
index cbf39acdc1e47beae460321f8184b1ed6348cdcb..dea6c2ab3d135170e2a69098fde57f4b0a62f4bf 100755 (executable)
@@ -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.
index d650460c92c6972a0e099cd3f51ef49a71f78861..d31b0b8a3283b632ccd60346bb931dc81924d5d7 100755 (executable)
@@ -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.
index 6b0454a70c7ee5b4776422e8461545a3a8dc62ef..80202091798f3e0df7aca5a48b3d66fd7ba54450 100755 (executable)
@@ -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.
index 5fa28e57801a1d9f3fe196f04a79efab220b2cc3..f264412761f9c1cbb43a75f0b8b475650c37dce9 100755 (executable)
@@ -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.
index d2d0489b9fd01e9b01f948df31e9fb57af876cf6..1b6a20798e49d9d6516f143b80c365fec1390cb6 100755 (executable)
@@ -1,5 +1,5 @@
 #!/bin/sh
-: ${srcdir=.}
+: "${srcdir=.}"
 . "$srcdir/init.sh"; path_prepend_ .
 
 # Check that an atexit handler is called when main() returns normally.
index ce860ae5947857d20be309064e9b17350f71d030..42a479845ffa292f62b64a1784da3d06c085e880 100755 (executable)
@@ -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"
index b9cdb99446a5843a8eb4495730c315a8a0c6892f..3a7b267ee741a867bb37383379dccdd1187ec0ca 100755 (executable)
@@ -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"
index ab4b28768219d7e9a2bebdf46ff9b7a034eb608a..e51e1c5c5eff6683760638c22f2cd0cfe6813162 100755 (executable)
@@ -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"
index d7d4d9cc3801e5b70b1b25c8fd2372087ccb1c2f..9f38f4e8ae2e63a4ead897406c660aba12e6ec9c 100755 (executable)
@@ -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"
index ef0e459b4763b3233593183b73b0e602046659fa..e95d0adf61f5cc5ec1550187df6e9cb02db5153c 100644 (file)
@@ -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"
index ad7a32a14f8302bb5677e4099ef96611fc5e94a7..25c69c7aaf659603e605f5fb83ff075f52844ddc 100644 (file)
@@ -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"
index 732911c30977cb0355445bfc4581c0536d05c20d..8e28c0c249f75e830d88a6b8dbd733abaee18239 100755 (executable)
@@ -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"
index 14bdfb248a114be4e817b79430bdad1435f02a8c..9f491e0f960a757171bccb9dcb5e115b52e7e7c9 100755 (executable)
@@ -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
index 3f6579aafc008120e7f988ee26a0f7c46d08ee3e..d7c478d5029e0bf5d4f4e9df058fe9f4fc7b13ee 100755 (executable)
@@ -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"
index 5c06aa0262fedbdb0db5cd041f1ec6ec1d055310..c566b709dd87c866361536fb11607efb30d30c68 100755 (executable)
@@ -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"
index ba32418f186d3ef27feaa72b26c58b3049fb6dc4..b6d7f2396f57ca545a3ce13092f5b3d7a374f045 100755 (executable)
@@ -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"
index 747c98f2ef4b37656da9d0a79beb9086e20bf2c8..9c8ec4223bfb388b2116fb12ff0bdd93494f026d 100755 (executable)
@@ -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 \
index 737bfb61ced6f7f83e9fec5b4ecf1959d25f7a7e..994ac3d8aac65dd944c3d5466d0344cce852e132 100755 (executable)
@@ -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 \
index 2fde5c6a39bb2149ec0430540125734514708ddb..023dfc4829da995b0014a9613bcdd0ecfb74c84a 100755 (executable)
@@ -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 \
index b9a1dd6066c08b2cd9272472dc182248d01782d6..555b4de63237fad22b0791907cf5ceb6b7e7dace 100755 (executable)
@@ -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 \
index df63077bce3ae555cbd4ac903044aa5f0a230ca7..6033defc9848e5b35a76a253cddb0ce3524e6ac8 100755 (executable)
@@ -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 \
index 8f176d078cac0e29883b0cc337c2ada69102008c..4541aee263277c0db72a4be6b1e054679293936a 100755 (executable)
@@ -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 \
index 4dc6e53fba33b835a8a900701e37c7c90784f3d9..a88602ad5a2cdcbce925fb27a8eb9993371bb731 100755 (executable)
@@ -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 \
index 788d28ce1b7b90307df5e660615a18bdc80422c6..1d8d455d753928bddabc8f30d864070028971bd5 100755 (executable)
@@ -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 \
index 9e7ef36c0eb7c92dfe7c02fef2d8b91da781926c..b0a58709598556446c198453d031941f2d9f6e68 100755 (executable)
@@ -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 \
index 73044890798c0fbedf1b71a09133f8916511af06..730b9b72532638f364734d6d1e98488bfe5026ad 100755 (executable)
@@ -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 \
index 77064f1d2ddaa58361a94b2a4d827170d021ec12..da5fcab22a236175054885d4332b6b58b5cc41b6 100755 (executable)
@@ -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 \
index b2dd321052ec049dc61ae9a414df77742b4e8268..e78109bdb4ed4733f179ce31911247ba5bf4e683 100755 (executable)
@@ -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 \
index 2899297beab4d022667fd889053f114090d5ba72..d2b091968beef01f7d3ff12e45c7536c2404a7bf 100755 (executable)
@@ -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 \
index 608c6d18760db7b57721de73aa237541cda62708..8a033023377567d912292e2b3727f07cbac442b1 100755 (executable)
@@ -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"
index 5b437f1bb4599b49d171190df0c52db8e9fd3edf..97840cf98312ccc141d02af065650320f408f037 100755 (executable)
@@ -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"
index bd77bf4186f8a6057924a5e0716fd09955d0b493..44c9b918598e93e3c10c10f681e0fe60b6021aff 100755 (executable)
@@ -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"
index 33322977a43468367cd1980c854fd933a6c5b6d3..6de78a284b993f4f04ef3a28458bf422d88ef94d 100755 (executable)
@@ -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"
index 42281746228321de1a52b35116047e02aa6119cd..faa3e409bf07f796eb46f5666e70e4e6708b3e38 100755 (executable)
@@ -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"
index c0dd1720bb20f3da9bcf951bd37fca0effde30af..9a8bafed0f19e9c662a25d6c1b499d88e8bb9e62 100755 (executable)
@@ -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"
index 7e59e8648a3a77cf63f63f343c6485b67937d8ef..dc15550e476df65fcad54b5b437088ad4d6466f3 100755 (executable)
@@ -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"
index 97f76a8dc03ea66011ce09468bbb4a5b7dd9ecfe..e83f13ef51ba61d7d044e7b0a11f2a2265e8062c 100755 (executable)
@@ -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"
index ea63e9aca31a4cf94485afccf729697df6c7d266..f0e57c2ca52e27708273b10e42e1e205d4dc28a5 100755 (executable)
@@ -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"
index 573a92f073b6051d3175bf7fcaee0a3b8e316f9f..7eb7ce3120a2154f5e232f624877dc1b441782da 100755 (executable)
@@ -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"
index c3c91e7829a189fe9bf286d6ae92bc3a6c161f0d..db5706144a1ebcc9af1e422c01efdf90dfd8d06e 100755 (executable)
@@ -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"
index ae3b13015e5dbcafdc77d16400a7382e8f95d20d..14ca450b4ff8e1a88601b3be33a855391c070913 100755 (executable)
@@ -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"
index d6359f9f64b0f74ecf4c0036f618242a4edb5ed7..7d0fb919dc6da898f89ad552b86c38eee1e42b8f 100755 (executable)
@@ -1,5 +1,5 @@
 #!/bin/sh
-: ${srcdir=.}
+: "${srcdir=.}"
 . "$srcdir/init.sh"; path_prepend_ .
 
 echo Hello world > in.tmp
index 9f69d143733f44b1a9a7aee19185b0f0fb89e6c6..50beba05d3bde546fbf4ecfc6d35b98c1d3848a9 100755 (executable)
@@ -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.
index f58a66e9a56382a55e0793a811295d7acc8983cf..9cd9e2093d6952bb0e1e2e67159f181f34c9ba92 100755 (executable)
@@ -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.
index 7353713f2a16f7fcd8a58dffe99f79278c8484d6..188ebe5592c3891708f89b3513e1807dca5875ff 100755 (executable)
@@ -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=$?
 
index 5af5b0e21ebd84df9e4e96053f1bb8ba1f3eeff1..c65e60d0a65618b2ae7b9a8fb2b13d3bbdd8fbeb 100755 (executable)
@@ -38,7 +38,7 @@ argv[9] = |foo|
 argv[10] = ||
 EOF
 
-: ${DIFF=diff}
+: "${DIFF=diff}"
 ${DIFF} test-execl.ok test-execl.out
 result=$?
 
index d32d27dff3499f811586918de51e373fa93be7bc..f627589693a5c42c1c68c4e33340c6cb0f62653a 100755 (executable)
@@ -39,7 +39,7 @@ argv[10] = ||
 Hommingberg = |Gepardenforelle|
 EOF
 
-: ${DIFF=diff}
+: "${DIFF=diff}"
 ${DIFF} test-execle.ok test-execle.out
 result=$?
 
index b6225739e8bb94e6e492f1f06a445a71121a3704..77b5b4d6b37fe86e596a33f9cce5be8337e6b615 100755 (executable)
@@ -41,7 +41,7 @@ argv[9] = |foo|
 argv[10] = ||
 EOF
 
-: ${DIFF=diff}
+: "${DIFF=diff}"
 ${DIFF} test-execlp.ok test-execlp.out
 result=$?
 
index 8ce8bb7a246fb1274b34ffa96e0a82a4f47ea092..e16da289877e9d1d0d2eb175733562bbf040d5f8 100755 (executable)
@@ -38,7 +38,7 @@ argv[9] = |foo|
 argv[10] = ||
 EOF
 
-: ${DIFF=diff}
+: "${DIFF=diff}"
 ${DIFF} test-execv.ok test-execv.out
 result=$?
 
index 566840d59ab9ccbe1855db5139a5f271e1520d07..2d7cf23bbafa01c472a9db493ad2a2bb3351a66c 100755 (executable)
@@ -39,7 +39,7 @@ argv[10] = ||
 Hommingberg = |Gepardenforelle|
 EOF
 
-: ${DIFF=diff}
+: "${DIFF=diff}"
 ${DIFF} test-execve.ok test-execve.out
 result=$?
 
index c3c80f348d9b630cd82b60f41d1ca9bbdc4dd0f6..165b7fe1593d803adf665b3810cced03a2dff3fd 100755 (executable)
@@ -41,7 +41,7 @@ argv[9] = |foo|
 argv[10] = ||
 EOF
 
-: ${DIFF=diff}
+: "${DIFF=diff}"
 ${DIFF} test-execvp.ok test-execvp.out
 result=$?
 
index 7f67d3f1f7e0f16778aced67df82b7f937659e97..4999db61b9f5afaba1d2a678fa3399486af55816 100755 (executable)
@@ -42,7 +42,7 @@ argv[10] = ||
 Hommingberg = |Gepardenforelle|
 EOF
 
-: ${DIFF=diff}
+: "${DIFF=diff}"
 ${DIFF} test-execvpe.ok test-execvpe.out
 result=$?
 
index 09d18da4eba64ca0910f1444c5522bc0f4623a33..9e723b89ba457fca43a6ec15ee2ba4792496ce42 100755 (executable)
@@ -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.
index 2a49c8793179062e5a2c5ae9abe3e2643fecc967..5391ee0b7b87fecbaf1505f1760bb003c92d62b3 100755 (executable)
@@ -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=$?
 
index cf30b1b42947ed92d9337947fa593fe0ef14ba08..92752ab456b282551b989d98cee1c243b895eaf0 100755 (executable)
@@ -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
index 1bde6026e810ed7423c831783013265beb69d9d7..142a224f084ee1a608a9ea1350d7aa14dba8aea2 100755 (executable)
@@ -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 \
index f5454388c5ac18f765a3c6bc0f3456d852c570df..9bdaff4ad12558381316f60a36b6f799b56adb17 100755 (executable)
@@ -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 \
index 0eeb980fcede1836796f183167e16a80c2090fb9..af9ff764ee01ba9da9f1495c7d133126d1ff50be 100755 (executable)
@@ -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"
index be03caa9eb1ca028522dc5789f85b93c52baa2c8..61d321443fa3f5836a809607924c87902c4c630b 100755 (executable)
@@ -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"
index 4adafe6b81b049a8896e7fbdb0ab6a201d2775d4..b84777482187b94bddf5512dda059b916871a419 100755 (executable)
@@ -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"
index 12dd3cf234a0e07079a9ac58aeb560f74e03be22..073eab90c8ca8feedee9083e7cdf4afaf362cada 100755 (executable)
@@ -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"
index f3fef3d2f74ba92e478cd116c0de988661c1ff2c..995f3f72a8f8ee09b9f7d5065403d48601f24929 100755 (executable)
@@ -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"
index 7578752729b7e394db98e9270991c091749ed650..f4f2995e54d8ad0f8dc852a5d740c46184caca17 100755 (executable)
@@ -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"
index d22a29091a465b364c54007ec1de5cf909974293..03b29fdcaa988b9fcb7c9b58894bc748ac20c4f9 100755 (executable)
@@ -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"
index 3b429db914a1e03924e17129e282d132e7db8639..9e538ebb77ddbd81a9e36968b73915bd0c554c04 100755 (executable)
@@ -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"
index 2d79c568c70745a761c83571923a4e9b92fc1a03..cb36fd2caa44e2374309fd270fb8e0bd76d7f7d0 100755 (executable)
@@ -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"
index 05e617f4f9215a1e8bfaab65cf79df7caddb57bc..7f21dbcb4eac87693588978bb950c4565aeec8b6 100755 (executable)
@@ -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"
index 00b108bc44c059224a57f061bab0ee365d4bf489..2b6eaf99c979c0a9f515f2b2b40e5c3cbaf508b6 100755 (executable)
@@ -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"
index 5036930e9ed4237feffa0cf408b306c15aced616..6868e86371fe842ed2eb00fa189404488ba86be2 100755 (executable)
@@ -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"
index 2773fa7b81078a813350adf85027886b103aac73..eca8d648d3be4b49592f571963a6b46edf47d6a4 100755 (executable)
@@ -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"
index 92f641c87c78b1cf9288b64be8f5b0c348bc4f30..7da23a3cab2295ad396a2237b502120a0fe54c0f 100755 (executable)
@@ -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"
index 5201951d5fd6c5289bc6f3229e21220544502bba..73e62b5f50f1cef0f414aac12b683bc960e4df4f 100755 (executable)
@@ -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"
index a09258bc7c1e222dbb1a782052d730c40878b7b1..3322fb0e265d5fba862e811d45e09be3d4eedafc 100755 (executable)
@@ -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"
index b0cd31db17da16c7c2e0d8b6b369119e6fc708b7..b016c5002a5c186a3c01359955910057430f2045 100755 (executable)
@@ -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"
index bbec0b2c27da21c6c02424eaa391087045c43e01..176deb52a83086d39067f9716f57e2c9b6aaec92 100755 (executable)
@@ -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"
index 7b04fe31a363e505fb571af5423404619b40e604..7e62b3f08a71e1d0895c24e1c5b8567700d5af52 100755 (executable)
@@ -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"
index 230fd59d1c771d1379d29b86a394f43003785085..7dd37e3e3cf12d983ce3fcf04cb4c9fdf43ffbd2 100755 (executable)
@@ -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"
index 7308714cf6fc02035a127bf2f62ad98b38bc7d29..25d4b2e4826251417934429dcb7b60e2bb98464b 100755 (executable)
@@ -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"
index 2863616a7a1dce2fd50f0f08a23901dd46073376..baf1e542bd7cf8bf271eceafe02bcce52482f5bb 100755 (executable)
@@ -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"
index 0e353f2105aed1a720f4205c720342f818273383..e33a90be64126a81c58f3254beed849ebb85a698 100755 (executable)
@@ -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"
index d3529fa30039345d29c6ecf646a10ce9c372d0a1..c402683e79975858d2fbedfd6919c0b0363d68f4 100755 (executable)
@@ -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"
index 6eb5c25ce1626f82338e7414eddc40c1afcab800..afdfea9fb51bc89b6b97ab0e40d553a1fde0fe4d 100755 (executable)
@@ -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"
index 2e1d0908459204a05662e0a3f43f849cf9d5e611..4399f1ea1c2b5cc0fad7e8170853090c8821edba 100755 (executable)
@@ -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"
index 960e67ebf71982516b5678a0f2409295aa3b71e2..8797e9f300d1c4287bea3ba94f671c5049387faf 100755 (executable)
@@ -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"
index 7c01a59b87a0d994d95654e66cf2b14283443225..21860dacef8df3698e65cf536e73d504e2161725 100755 (executable)
@@ -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"
index 669157ebbb75c3baddfc62dd8525f6d2b82648d9..aa8f1910a01bf816c4d3f1e64b251747455a4a0a 100755 (executable)
@@ -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"
index 25f0575ea128d51d83a993fb9acb94a7ba228c57..a65f1eb0a93620a1665bad81a5afeb2378267d73 100755 (executable)
@@ -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"
index a992316ecedd325437c7d2b5b1b6a597e0fbab9d..23c422656f9a8d685c3af63c46e8600ce236995b 100755 (executable)
@@ -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"
index d9ae094fe6c5129dbe93bcbeba0beecc07b4dc90..1e390755f1b75c6adb82fce9a4a0cec3f59e7494 100755 (executable)
@@ -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"
index 4970ded629857d8fd84f0fb1d6841da8814140c8..84c40b7bf871bcc9ece313cfcd1727861d9cc7ce 100755 (executable)
@@ -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"
index c957b80f476be85270738deb9094c993ba886173..d71f37cd5a57694664370db72b663df30c379c4e 100755 (executable)
@@ -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"
index bb893d17b5dd27bb9877c8e7fe93eb8644531e45..ea7168f1119cb562dac182f7a235a0f0edd79b59 100755 (executable)
@@ -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"
index 5573412829f2f7c4c7b482379ca0ae5a6361a71b..4f4c649af7ab9245c4865558f49ca332251fe9b9 100755 (executable)
@@ -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"
index faf46001b727b9300d8e25462be8253479c9216b..253725b7c27add1467605190dc3ee9be2a89934d 100755 (executable)
@@ -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"
index 66ba231a0e52f3399a0631aa6bcdc5825bac2d9c..f8c54ab243abfdebe465e448c492c0f9ca7bf8ea 100755 (executable)
@@ -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"
index 6786efd7df6867265be4c87e06723dcb95cc0c56..1cae31cb1f1cefd41a314265c3274f7cb6d68fed 100755 (executable)
@@ -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"
index 54e983267f1d35ff51b5cb42ecd2f4d254b4b40b..908c140e571f1cb005c3128c448908f8ee10d560 100755 (executable)
@@ -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"
index 8acda0853a6fd7774c859e5b9e3b97268b13729a..135bc5f719929bd0628239e15004ea6a2de24281 100755 (executable)
@@ -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"
index aa7c97dceed54307196945034a3c33c187aaf117..efc344c553bba3433b79c113c58f7cc07255e061 100755 (executable)
@@ -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"
index 5ef71392c3e96927943ab8c9b8fed4d0c837b5b2..d1905d61b4748e648d086cc46b555410ee9e2ce2 100755 (executable)
@@ -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"
index 539f9c034207dc69deddc1ec00adea697b8512b6..5e781bfce19ed89631e59f21cdfdec9a6f763192 100755 (executable)
@@ -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"
index 24d80f202366b57bf3d58f469270523da2415b2d..9fa0ae98338398741ad357e33e4606310a0aa9c5 100755 (executable)
@@ -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"
index c21f2e85d9be2dcc468683587299284909ae0e2a..80d54a9e8ecdfef5619b27c2a42805e47d4eb422 100755 (executable)
@@ -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"
index d62af62e7324ba2009b0b98b28d09243ebf48712..a69decd165032d36fbd5359231e7b52298b132d2 100755 (executable)
@@ -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"
index b0d1343721f6fa0d8335a100816441c3ccf898bb..9fc9a69f01ef3b71c926de663ac6bfdc6b51d520 100755 (executable)
@@ -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"
index b1ce46ce09bd3812d3a2bd9fc012b4bd95b21ec0..a66672fe2c65265771cce562d9f7d2432422df26 100755 (executable)
@@ -3,13 +3,13 @@
 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
index 9f0d0fe1647de8d4893fa575cf17ccfb6a6fcf7a..7f27f72a60f0b320ff9e13f2374f616ba3d807f2 100755 (executable)
@@ -17,7 +17,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.
index e776609a0c32c5580f9890cae547e2f416edd1d7..e6244413a0912470298845963a5ec7211c688f4b 100755 (executable)
@@ -1,5 +1,5 @@
 #!/bin/sh
-: ${srcdir=.}
+: "${srcdir=.}"
 . "$srcdir/init.sh"; path_prepend_ .
 
 # Test NULL prefix. Result should not contain a number, except in lines that
index d496406af4a4eb58c4486f78260751bf6249137a..3ac993a2e9478c988db7208843ecafb1919312fd 100755 (executable)
@@ -7,7 +7,7 @@ tmpfiles="$tmpfiles t-printf-posix.tmp t-printf-posix.out"
 ${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=$?
 
index fdcd64bb388603e7d73032940118ea2f51ac5a25..fa9771e034ebcc853fd4e50b1d9c3511b0a0142a 100755 (executable)
@@ -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.
index 53ad09f923ba1d81a9539e5190282928ffeada32..3c187f5d83f108ac2f052562b46336af8dc68b0b 100755 (executable)
@@ -1,9 +1,9 @@
 #!/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
index 2ec4ebf2606f8e84aa2e57c1cefa9a6a974331f1..1b2de5926ad9e12621166ccc4a9eeb5fc0b254c8 100755 (executable)
@@ -1,7 +1,7 @@
 #!/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
index 3f4c4b916a3d8333f4e626897aeec3c6b035b4c4..1302c199315c9ae6c754624192f6f970c6627086 100755 (executable)
@@ -1,7 +1,7 @@
 #!/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
index f0ec8fb633e1f496fb180ab2315bba3b90678c23..f0f197181b5b3b00fe9f6f1eab1376ea272b5eda 100755 (executable)
@@ -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"
index 1544c9614c41a433a3be4bb91a0d3f99fb2246fd..9a301cfe463b693a8c8b5faf1fa272c0b32a8e18 100755 (executable)
@@ -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"
index 90932191fc36e70502e6bb6321a24ffc29ecda9e..79c1e2f76f7eace695394ebc1778b018284458e9 100755 (executable)
@@ -1,8 +1,8 @@
 #!/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
index b61f67eab3848ba0059bff112f49d7736e6c903f..862b223a69e138fea65d020f2d2f2dd66f6e9049 100755 (executable)
@@ -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_ .
 
 tmpdir=vc-cvs
index 429f9ac045aa9103535af8524389395a9111a31c..8e085eaa36eb4b341be69190a21578138b27a018 100755 (executable)
@@ -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_ .
 
 tmpdir=vc-git-$$
index 8dd2336f7f83c93bf131e1d65e03a70dfdcdaa3f..a2616b3793168fb7e55ab43ffb2773870ab7c6a1 100755 (executable)
@@ -7,7 +7,7 @@ tmpfiles="$tmpfiles t-vdprintf-posix.tmp t-vdprintf-posix.out"
 ${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=$?
 
index d8ced96bcaf97119bd3b220536afc43af1b8ea3f..d5453e3f9cfedb17bc67721eaf9ddb2e459c0a3e 100755 (executable)
@@ -7,7 +7,7 @@ tmpfiles="$tmpfiles t-vfprintf-posix.tmp t-vfprintf-posix.out"
 ${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=$?
 
index 911c980d731969501d1a3e0ad7954dc1aff43e9b..7e85eb2948b418f0de8586107464d79403f38755 100755 (executable)
@@ -7,7 +7,7 @@ tmpfiles="$tmpfiles t-vprintf-posix.tmp t-vprintf-posix.out"
 ${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=$?
 
index 1a31b6eeccce8986677a04ab71b7de693abbd96d..01d8d53b36f10a1af6469fc190888ad654dbdf6b 100755 (executable)
@@ -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-wcrtomb${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-wcrtomb${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-wcrtomb${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-wcrtomb${EXEEXT} 4 \
index b74441942693fb62a4c40a7d48634529e68752d3..0468a68221d36f9ad3da03705ac50c3781ffe56f 100755 (executable)
@@ -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"
index 0c6e45a346435f0f93cd0a8c598f7cf68c13bbf4..206679439874ac6fd7ced5d1bf9f3dd66ef06542 100755 (executable)
@@ -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"
index e6cd47218e2f8eb0367eb6435af83a56d2b452c1..1b67da7fb5d594ee6b162a2b014c9583e04e6e75 100755 (executable)
@@ -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"
index d124a203310fa1b7d24c8263a5dc20f1af5cea50..c7759505ac68511ce33d320f2f1ae7d8991e0db8 100755 (executable)
@@ -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"
index f496892504a74b739ea77e475499d9b6735a5864..47ce3235bb7e6a97ba7c43e5b625fb5284aa0b92 100755 (executable)
@@ -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"
index 84d87e332ab2d0acbfb56de4f1523758af6c40f6..e347c8903d6917e47978f51a1276c2c7b1dc2a9a 100755 (executable)
@@ -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"
index b19ab50c86749580c83e0e2419590beff37c66e7..217be4b4dbe1d4c31d48b92d35e33da2d567d56d 100755 (executable)
@@ -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"
index d70ccd826c6471ee127760fa50d46b3f3b699825..d8e0edeef953254e184a267546d2ad199a1e6c10 100755 (executable)
@@ -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"
index 2a671978ae48be052a15600d35288c1a84d2f4c2..f46059fa11b92511f0c6eaae6160b16d0f768d22 100755 (executable)
@@ -7,7 +7,7 @@ tmpfiles="$tmpfiles t-xprintf-posix.tmp t-xprintf-posix.out"
 ${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; }
 
@@ -15,7 +15,7 @@ tmpfiles="$tmpfiles t-xfprintf-posix.tmp t-xfprintf-posix.out"
 ${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; }
 
index 6a48e67b0a98ba6726201c5851ce4d0e07728f88..f41e52eacaf354db341533299799d3ac2c910fad 100755 (executable)
@@ -1,5 +1,5 @@
 #!/bin/sh
-: ${srcdir=.}
+: "${srcdir=.}"
 . "$srcdir/init.sh"; path_prepend_ .
 
 too_big=99999999999999999999999999999999999999999999999999999999999999999999
index 15dd91159bdeff372b03b0dd6480345c13273c91..e82b585bf4077b8b6c08d0d17467e288a0e8377e 100755 (executable)
@@ -1,5 +1,5 @@
 #!/bin/sh
-: ${srcdir=.}
+: "${srcdir=.}"
 . "$srcdir/init.sh"; path_prepend_ .
 
 too_big=99999999999999999999999999999999999999999999999999999999999999999999
index 8fcbce31df429fd8392ecdf3c11def2c2d8957e4..d738acc38177b65eb108d7d145b6897ab23dd202 100755 (executable)
@@ -1,5 +1,5 @@
 #!/bin/sh
-: ${srcdir=.}
+: "${srcdir=.}"
 . "$srcdir/init.sh"; path_prepend_ .
 
 too_big=99999999999999999999999999999999999999999999999999999999999999999999
index 3ec4cc6a43184d7daecac49985ac485ff5592fb8..5faca6a4398f1cfc79e21bd0d49563b52f653f30 100755 (executable)
@@ -1,5 +1,5 @@
 #!/bin/sh
-: ${srcdir=.}
+: "${srcdir=.}"
 . "$srcdir/init.sh"; path_prepend_ .
 
 too_big=99999999999999999999999999999999999999999999999999999999999999999999
index 67caa77086be2cf053e1ef6a9661561bb9e8042a..3f8f101ef32b6564b6d893ac53425859b2fd7569 100755 (executable)
@@ -1,5 +1,5 @@
 #!/bin/sh
-: ${srcdir=.}
+: "${srcdir=.}"
 . "$srcdir/init.sh"; path_prepend_ .
 
 # For now, only test with C locale
index 4e5b90ab640854c58c0adeebc674a92a0a46e22c..5229b4cf5b0e62eb38a2cffd6e9600f32bbce9cb 100755 (executable)
@@ -2,27 +2,27 @@
 
 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
index a5a61c6cf0accae6806daa666c6aec3861be2507..e9ed999b6de2f7ce9ecdfd7b36272ce5b1c1120d 100755 (executable)
@@ -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"
index d44922797122333a53f059012a58c534d1df8bc9..6fdc6af3a96c7a67e35074f6734bce1c1de2b6a0 100755 (executable)
@@ -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"
index d18211bbb50af90f8ea4ecfdf479982ff9cce08a..1606310393ef311de94260cad9eeb3d09b3d9b30 100755 (executable)
@@ -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"
index a74c8b3052c956d472d066937e025e601c3c8c8e..3e149a34bc90934d3a5ccf36f72c866efb00a4ca 100755 (executable)
@@ -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"
index 0cad7608d954fbbd09cc1169c2faae11b624a74c..119228ef304411223b2cc3693d2cc3d52ee1a3dc 100755 (executable)
@@ -1,7 +1,7 @@
 #!/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"
index 714f1a4f775983639cffbd229bcb933b48719a00..a3b949acccf54d1af91220db5222b646f0d29535 100755 (executable)
@@ -1,7 +1,7 @@
 #!/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
index a5aa4a0010a3ebeecbee0f47dff8ea80fed419af..5134b8844945128a755f421dbf30580eb9981f1b 100755 (executable)
@@ -1,7 +1,7 @@
 #!/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
index 94800e6d9c830cff739526242364f325933a92b8..9bf796fbe527aa039600b100ace0213cc2c625b9 100755 (executable)
@@ -1,7 +1,7 @@
 #!/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
index 9b487a57f5634fd2c0bf125a3663b93530100505..aef4d74cf7c6e6fef4d29bcd09a3ac0657c04271 100755 (executable)
@@ -1,7 +1,7 @@
 #!/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
index 3ea389503db7e8af86a42a7e5551d60b16aabea4..2296d517f5018fee6e621155743bf4297defebd0 100755 (executable)
@@ -1,7 +1,7 @@
 #!/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
index aa46e11fd0d836225d957e814d6a46f38c878464..383ae12b924c4dd5b24f732440f666ebe81057e0 100755 (executable)
@@ -1,7 +1,7 @@
 #!/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
index dd4b31f4cff7324e1b57adcd93e7450bfd6563e8..73ddb80ef24b3dcb6b9ab96faf3b9dda0b70a2a5 100755 (executable)
@@ -1,7 +1,7 @@
 #!/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
index 128c8a0ce7fe4c28f8df2205a072a056400033df..1aacae9dd47bebc2a92d29b346cc28634bdee103 100755 (executable)
@@ -1,7 +1,7 @@
 #!/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
index d7e067e6b16f0dd55286db8c89e6c87afb6ea48e..224a90f05b49a52cf2c6b076fa9bcd29920554a8 100755 (executable)
@@ -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"
index c4263447f6829e1277c99b9ab6a39c13022359ce..675d675a99c3b8775e8fc7222fec2b5ae69d9b9c 100755 (executable)
@@ -912,7 +912,7 @@ E0100..E01EF        0
 E01F0..10FFFF  1
 EOF
 
-: ${DIFF=diff}
+: "${DIFF=diff}"
 ${DIFF} uc_width.ok uc_width.out
 result=$?