git-strtol-test
authorGNU Libc Maintainers <debian-glibc@lists.debian.org>
Wed, 22 Jul 2020 22:26:24 +0000 (23:26 +0100)
committerAurelien Jarno <aurel32@debian.org>
Wed, 22 Jul 2020 22:26:24 +0000 (23:26 +0100)
commitd0172cc6422776733a4d759d4cf87cfadaf71f7c
tree81e7c512c2f612c51dfb0d4d2afc08a2cb09ad44
parentdf00477fd6cac4cac1004852d3ce3a7518175966
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