723e74e767a55e6e62a9f89dcddc44cf202635c7
[platform/upstream/m4.git] / tests / test-setlocale2.sh
1 #!/bin/sh
2
3 # Test locale names with likely unsupported encoding in Unix syntax.
4 for name in ar_SA.ISO-8859-1 fr_FR.CP1251 zh_TW.GB18030 zh_CN.BIG5; do
5   LC_ALL=$name ./test-setlocale2${EXEEXT} 1 || exit 1
6 done
7
8 # Test locale names with likely unsupported encoding in native Windows syntax.
9 for name in "Arabic_Saudi Arabia.1252" "Arabic_Saudi Arabia.65001" \
10             French_France.65001 Japanese_Japan.65001 Turkish_Turkey.65001 \
11             Chinese_Taiwan.65001 Chinese_China.54936 Chinese_China.65001; do
12   LC_ALL=$name ./test-setlocale2${EXEEXT} 1 || exit 1
13 done
14
15 exit 0