mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-09 23:00:07 +00:00
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>
This commit is contained in:
parent
653200ef42
commit
4f92497488
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user