view tests/test-mbsinit.sh @ 17415:6550127da196

argp: typo fix * lib/argp-help.c: Typo in comment.
author Alexandre Duret-Lutz <adl@lrde.epita.fr>
date Fri, 17 May 2013 19:01:14 +0200
parents bcd9ca0eda6e
children
line wrap: on
line source

#!/bin/sh

# Test whether a specific UTF-8 locale is installed.
: ${LOCALE_FR_UTF8=fr_FR.UTF-8}
if test $LOCALE_FR_UTF8 = none; then
  if test -f /usr/bin/localedef; then
    echo "Skipping test: no french Unicode locale is installed"
  else
    echo "Skipping test: no french Unicode locale is supported"
  fi
  exit 77
fi

LC_ALL=$LOCALE_FR_UTF8 \
./test-mbsinit${EXEEXT}