Blame gnulib-tests/test-mbsstr3.sh

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