view tests/test-mbspcasecmp.sh @ 13338:43bae0ee08b9

maint.mk: tweak preceding change * top/maint.mk (gl_extract_significant_defines_): Make exclusion regexps tighter by anchoring at EOL, and make the new group "shy" for slightly decreased overhead.
author Jim Meyering <meyering@redhat.com>
date Tue, 11 May 2010 18:49:29 +0200
parents 423852ad63d7
children
line wrap: on
line source

#!/bin/sh

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

LC_ALL=$LOCALE_TR_UTF8 \
./test-mbspcasecmp${EXEEXT}