Blame gnulib-tests/test-mbrtowc3.sh

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