Blame gnulib-tests/test-mbsrtowcs2.sh

Packit Service fdd496
#!/bin/sh
Packit Service fdd496
Packit Service fdd496
# Test whether a specific UTF-8 locale is installed.
Packit Service fdd496
: ${LOCALE_FR_UTF8=fr_FR.UTF-8}
Packit Service fdd496
if test $LOCALE_FR_UTF8 = none; then
Packit Service fdd496
  if test -f /usr/bin/localedef; then
Packit Service fdd496
    echo "Skipping test: no french Unicode locale is installed"
Packit Service fdd496
  else
Packit Service fdd496
    echo "Skipping test: no french Unicode 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_FR_UTF8 \
Packit Service fdd496
./test-mbsrtowcs${EXEEXT} 2