view tests/test-mbsrtowcs1.sh @ 17288:e1bf1347de53

doc: clarify -Werror * doc/warnings.texi (warnings): -Werror is not always a bad idea; clarify that it's intended for developers, not for ordinary builds, and mention --enable-gcc-warnings as one possible use.
author Paul Eggert <eggert@cs.ucla.edu>
date Tue, 15 Jan 2013 12:21:42 -0800
parents 4200847287e8
children
line wrap: on
line source

#!/bin/sh

# Test in an ISO-8859-1 or ISO-8859-15 locale.
: ${LOCALE_FR=fr_FR}
if test $LOCALE_FR = none; then
  if test -f /usr/bin/localedef; then
    echo "Skipping test: no traditional french locale is installed"
  else
    echo "Skipping test: no traditional french locale is supported"
  fi
  exit 77
fi

LC_ALL=$LOCALE_FR \
./test-mbsrtowcs${EXEEXT} 1