1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-12-12 14:21:30 +03:00
Files
glibc/support/test-container.c
Carlos O'Donell 183083c359 support: Set errno before testing it.
In test-conainer we should set errno to 0 before calling strtol,
and check after with TEST_COMPARE.

In tst-support_capture_subprocess we should set errno to 0 before
checking it after the call to strtol.

Tested on x86_64.

Reviewed-by: DJ Delorie <dj@redhat.com>
2020-04-30 16:28:07 -04:00

30 KiB