git-strtol-test
authorGNU Libc Maintainers <debian-glibc@lists.debian.org>
Tue, 4 Aug 2020 15:02:38 +0000 (16:02 +0100)
committerAurelien Jarno <aurel32@debian.org>
Tue, 4 Aug 2020 15:02:38 +0000 (16:02 +0100)
commitaca08d33afb56bfd8567a75f06314f87a16004b6
tree2e17eaf4dfd87212121827c89fd910ec6b443890
parente30e5a9a41668cb1eab436c3075b5c632c21ae4a
git-strtol-test

commit 183083c35972611e7786c7ee0c96d7da571631ed
Author: Carlos O'Donell <carlos@redhat.com>
Date:   Wed Apr 29 16:31:29 2020 -0400

    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>
Gbp-Pq: Topic hurd-i386
Gbp-Pq: Name git-strtol-test.diff
support/test-container.c
support/tst-support_capture_subprocess.c