Blame gnulib-tests/test-mbrtowc3.sh

Packit Service 2723c6
#!/bin/sh
Packit Service 2723c6
Packit Service 2723c6
# Test whether a specific EUC-JP locale is installed.
Packit Service 2723c6
: ${LOCALE_JA=ja_JP}
Packit Service 2723c6
if test $LOCALE_JA = none; then
Packit Service 2723c6
  if test -f /usr/bin/localedef; then
Packit Service 2723c6
    echo "Skipping test: no traditional japanese locale is installed"
Packit Service 2723c6
  else
Packit Service 2723c6
    echo "Skipping test: no traditional japanese locale is supported"
Packit Service 2723c6
  fi
Packit Service 2723c6
  exit 77
Packit Service 2723c6
fi
Packit Service 2723c6
Packit Service 2723c6
LC_ALL=$LOCALE_JA \
Packit Service 2723c6
./test-mbrtowc${EXEEXT} 3