diff options
author | Adhemerval Zanella <adhemerval.zanella@linaro.org> | 2020-05-18 14:36:45 -0300 |
---|---|---|
committer | Adhemerval Zanella <adhemerval.zanella@linaro.org> | 2020-07-07 14:10:58 -0300 |
commit | 4f92497488c90fea1ef6796c6d564ff5f8a3add6 (patch) | |
tree | 2029f80f8e58d2f10a9a5efca0bfa2d64fc665e8 /string | |
parent | 653200ef42674cd0b71c9e07145054ccfadf2f0f (diff) | |
download | glibc-4f92497488c90fea1ef6796c6d564ff5f8a3add6.tar.gz |
string: Add strerror_l on test-strerror-errno
Checked on x86-64-linux-gnu, i686-linux-gnu, powerpc64le-linux-gnu,
and s390x-linux-gnu.
Tested-by: Carlos O'Donell <carlos@redhat.com>
Reviewed-by: Carlos O'Donell <carlos@redhat.com>
Diffstat (limited to 'string')
-rw-r--r-- | string/test-strerror-errno.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/string/test-strerror-errno.c b/string/test-strerror-errno.c index 0c52561015..f3b1a98d22 100644 --- a/string/test-strerror-errno.c +++ b/string/test-strerror-errno.c @@ -55,6 +55,11 @@ do_test (void) (void) msg; TEST_COMPARE (errno, 0); + locale_t l = xnewlocale (LC_ALL_MASK, "C", NULL); + msg = strerror_l (-3, l); + (void) msg; + TEST_COMPARE (errno, 0); + return 0; } |