diff options
author | Bruno Haible <bruno@clisp.org> | 2023-02-08 23:43:03 +0100 |
---|---|---|
committer | Bruno Haible <bruno@clisp.org> | 2023-02-08 23:43:03 +0100 |
commit | 4dff93434fcb770cb490a738d10d9cbb4a35d5be (patch) | |
tree | a6d9a34b04d722e5f2072b4be303b323912b60fd /tests/test-nl_langinfo2.sh | |
parent | 57ec1201e41544144928901fa21f93085c9862d0 (diff) | |
download | gnulib-4dff93434fcb770cb490a738d10d9cbb4a35d5be.tar.gz |
nl_langinfo tests: Add another test.
* tests/test-nl_langinfo2.c: New file.
* tests/test-nl_langinfo2.sh: New file.
* modules/nl_langinfo-tests (Files): Add them. Add
intl-thread-locale.m4.
(Depends-on): Add c-strcasestr, stdbool.
(configure.ac): Invoke gt_FUNC_USELOCALE.
(Makefile.am): Arrange to compile test-nl_langinfo2 and test it through
test-nl_langinfo2.sh.
Diffstat (limited to 'tests/test-nl_langinfo2.sh')
-rwxr-xr-x | tests/test-nl_langinfo2.sh | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/tests/test-nl_langinfo2.sh b/tests/test-nl_langinfo2.sh new file mode 100755 index 0000000000..6333c9006d --- /dev/null +++ b/tests/test-nl_langinfo2.sh @@ -0,0 +1,12 @@ +#!/bin/sh + +# The name of a specific traditional locale. +: "${LOCALE_FR=fr_FR}" + +# The name of a specific UTF-8 locale. +: "${LOCALE_FR_UTF8=fr_FR.UTF-8}" + +# Make them accessible as environment variables. +export LOCALE_FR LOCALE_FR_UTF8 + +${CHECKER} ./test-nl_langinfo2${EXEEXT} |