diff options
author | Bruno Haible <bruno@clisp.org> | 2009-03-09 01:49:04 +0100 |
---|---|---|
committer | Bruno Haible <bruno@clisp.org> | 2009-03-09 01:49:04 +0100 |
commit | 5b08423681f9c6ce27475851965f69791e3901aa (patch) | |
tree | dffa58d9a2a8fc8315f70489ca01f1912fbf9b21 /tests/unicase/test-ulc-casecmp1.sh | |
parent | 80ae500d4237e39ce2c63aea80b2a34e5887ce90 (diff) | |
download | gnulib-5b08423681f9c6ce27475851965f69791e3901aa.tar.gz |
Tests for module 'unicase/ulc-casecmp'.
Diffstat (limited to 'tests/unicase/test-ulc-casecmp1.sh')
-rwxr-xr-x | tests/unicase/test-ulc-casecmp1.sh | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/tests/unicase/test-ulc-casecmp1.sh b/tests/unicase/test-ulc-casecmp1.sh new file mode 100755 index 0000000000..7be2cca1f8 --- /dev/null +++ b/tests/unicase/test-ulc-casecmp1.sh @@ -0,0 +1,15 @@ +#!/bin/sh + +# Test in an ISO-8859-1 or ISO-8859-15 locale. +: ${LOCALE_FR=fr_FR} +if test $LOCALE_FR = none; then + if test -f /usr/bin/localedef; then + echo "Skipping test: no traditional french locale is installed" + else + echo "Skipping test: no traditional french locale is supported" + fi + exit 77 +fi + +LC_ALL=$LOCALE_FR \ +./test-ulc-casecmp${EXEEXT} 1 |