Skip to content
Commit 183083c3 authored by Carlos O'Donell's avatar Carlos O'Donell
Browse files

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: default avatarDJ Delorie <dj@redhat.com>
parent df6c63eb
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment