Blame gnulib-tests/test-mbsrtowcs4.sh

Packit 33f14e
#!/bin/sh
Packit 33f14e
Packit 33f14e
# Test whether a specific GB18030 locale is installed.
Packit 33f14e
: ${LOCALE_ZH_CN=zh_CN.GB18030}
Packit 33f14e
if test $LOCALE_ZH_CN = none; then
Packit 33f14e
  if test -f /usr/bin/localedef; then
Packit 33f14e
    echo "Skipping test: no transitional chinese locale is installed"
Packit 33f14e
  else
Packit 33f14e
    echo "Skipping test: no transitional chinese locale is supported"
Packit 33f14e
  fi
Packit 33f14e
  exit 77
Packit 33f14e
fi
Packit 33f14e
Packit 33f14e
LC_ALL=$LOCALE_ZH_CN \
Packit 33f14e
./test-mbsrtowcs${EXEEXT} 4