annotate tests/test-nl_langinfo.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 |
ebdcb6dc7134 |
children |
|
rev |
line source |
12431
|
1 #!/bin/sh |
|
2 |
|
3 LC_ALL=C ./test-nl_langinfo${EXEEXT} 0 || exit 1 |
|
4 |
|
5 # Test whether a specific traditional locale is installed. |
|
6 : ${LOCALE_FR=fr_FR} |
|
7 if test $LOCALE_FR != none; then |
|
8 LC_ALL=$LOCALE_FR ./test-nl_langinfo${EXEEXT} 1 || exit 1 |
|
9 fi |
|
10 |
|
11 # Test whether a specific UTF-8 locale is installed. |
|
12 : ${LOCALE_FR_UTF8=fr_FR.UTF-8} |
|
13 if test $LOCALE_FR_UTF8 != none; then |
|
14 LC_ALL=$LOCALE_FR_UTF8 ./test-nl_langinfo${EXEEXT} 2 || exit 1 |
|
15 fi |
|
16 |
|
17 exit 0 |