duplocale tests: Verify use with *_l functions.
commita71158abf562cd6ed3fe384b0d99cba0de2034c2
authorBruno Haible <bruno@clisp.org>
Tue, 15 Aug 2017 18:23:00 +0000 (15 20:23 +0200)
committerBruno Haible <bruno@clisp.org>
Tue, 15 Aug 2017 18:23:00 +0000 (15 20:23 +0200)
tree6dac886ee119c143cea3397505006e19d21a73ed
parente94fc41793e6d2e289ed4c6ee35159f73e90cdab
duplocale tests: Verify use with *_l functions.

* modules/duplocale-tests (configure.ac): Test for uselocale and
some *_l functions.
* tests/test-duplocale.c (test_with_uselocale): New function, extracted
from main.
(get_locale_dependent_values_from, test_with_locale_parameter): New
functions.
(main): Test both test_with_uselocale and test_with_locale_parameter.
ChangeLog
modules/duplocale-tests
tests/test-duplocale.c