view tests/test-mbspcasecmp.sh @ 17960:1c04e5182252

git-version-gen: revert "detect untagged revisions" Revert commit bedd7833 as it breaks `make dist` in Inetutils at least, due to the interdependencies with top/GNUMakefile, which depend on the tag prefixes. This results in `make dist` inducing a new call to autoconf where a simple tar-ball build would be expected.
author Mats Erik Andersson <mats.andersson@gisladisker.se>
date Tue, 14 Apr 2015 21:25:59 +0100
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}