view tests/test-mbscasecmp.sh @ 40201:24f6637d57d0

autoupdate
author Karl Berry <karl@freefriends.org>
date Sun, 24 Feb 2019 08:05:56 -0800
parents 73a83a14a3fd
children 8c1a17df67e0
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-mbscasecmp${EXEEXT}