annotate 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
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
8160
423852ad63d7 Tests for module 'mbspcasecmp'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
1 #!/bin/sh
423852ad63d7 Tests for module 'mbspcasecmp'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
2
423852ad63d7 Tests for module 'mbspcasecmp'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
3 # Test whether a specific Turkish locale is installed.
423852ad63d7 Tests for module 'mbspcasecmp'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
4 : ${LOCALE_TR_UTF8=tr_TR.UTF-8}
423852ad63d7 Tests for module 'mbspcasecmp'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
5 if test $LOCALE_TR_UTF8 = none; then
423852ad63d7 Tests for module 'mbspcasecmp'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
6 if test -f /usr/bin/localedef; then
423852ad63d7 Tests for module 'mbspcasecmp'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
7 echo "Skipping test: no turkish Unicode locale is installed"
423852ad63d7 Tests for module 'mbspcasecmp'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
8 else
423852ad63d7 Tests for module 'mbspcasecmp'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
9 echo "Skipping test: no turkish Unicode locale is supported"
423852ad63d7 Tests for module 'mbspcasecmp'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
10 fi
423852ad63d7 Tests for module 'mbspcasecmp'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
11 exit 77
423852ad63d7 Tests for module 'mbspcasecmp'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
12 fi
423852ad63d7 Tests for module 'mbspcasecmp'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
13
423852ad63d7 Tests for module 'mbspcasecmp'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
14 LC_ALL=$LOCALE_TR_UTF8 \
423852ad63d7 Tests for module 'mbspcasecmp'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
15 ./test-mbspcasecmp${EXEEXT}