Blame gnulib-tests/test-mbsrtowcs3.sh

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