|
Last change
on this file since 2595 was 2595, checked in by bird, 12 years ago |
|
gnu grep version 2.12 (grep-2.12.tar.xz, md5sum=8d2f0346d08b13c18afb81f0e8aa1e2f)
|
-
Property svn:eol-style
set to
native
|
|
File size:
753 bytes
|
| Line | |
|---|
| 1 | #!/bin/sh
|
|---|
| 2 |
|
|---|
| 3 | # Test in an ISO-8859-1 or ISO-8859-15 locale.
|
|---|
| 4 | : ${LOCALE_FR=fr_FR}
|
|---|
| 5 | if test $LOCALE_FR != none; then
|
|---|
| 6 | LC_ALL=$LOCALE_FR \
|
|---|
| 7 | ./test-wcrtomb${EXEEXT} 1 \
|
|---|
| 8 | || 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 \
|
|---|
| 15 | ./test-wcrtomb${EXEEXT} 2 \
|
|---|
| 16 | || exit 1
|
|---|
| 17 | fi
|
|---|
| 18 |
|
|---|
| 19 | # Test whether a specific EUC-JP locale is installed.
|
|---|
| 20 | : ${LOCALE_JA=ja_JP}
|
|---|
| 21 | if test $LOCALE_JA != none; then
|
|---|
| 22 | LC_ALL=$LOCALE_JA \
|
|---|
| 23 | ./test-wcrtomb${EXEEXT} 3 \
|
|---|
| 24 | || exit 1
|
|---|
| 25 | fi
|
|---|
| 26 |
|
|---|
| 27 | # Test whether a specific GB18030 locale is installed.
|
|---|
| 28 | : ${LOCALE_ZH_CN=zh_CN.GB18030}
|
|---|
| 29 | if test $LOCALE_ZH_CN != none; then
|
|---|
| 30 | LC_ALL=$LOCALE_ZH_CN \
|
|---|
| 31 | ./test-wcrtomb${EXEEXT} 4 \
|
|---|
| 32 | || exit 1
|
|---|
| 33 | fi
|
|---|
| 34 |
|
|---|
| 35 | exit 0
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.