view tests/test-mbrtowc3.sh @ 40194:33c4cac699fe

nstrftime: tweak arg order * lib/nstrftime.c (__strftime_internal): Interchange arg order. All callers changed. Suggested by TAMUKI Shoichi in: https://lists.gnu.org/r/bug-gnulib/2019-02/msg00052.html
author Paul Eggert <eggert@cs.ucla.edu>
date Sat, 23 Feb 2019 15:07:47 -0800
parents 9ad8bcddd5f9
children 8c1a17df67e0
line wrap: on
line source

#!/bin/sh

# Test whether a specific EUC-JP locale is installed.
: ${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"
  else
    echo "Skipping test: no traditional japanese locale is supported"
  fi
  exit 77
fi

LC_ALL=$LOCALE_JA \
./test-mbrtowc${EXEEXT} 3