Skip to content
Unverified Commit 6f387135 authored by Mikhail R. Gadelha's avatar Mikhail R. Gadelha Committed by GitHub
Browse files

[libc] Fix failing mktime test case in 32-bit systems (#65390)

Previously, these tests expected that calling mktime with a struct tm
that caused overlow to succeed with return -1
(TimeConstants::OUT_OF_RANGE_RETURN_VALUE), however, the Succeeds call
expects the errno to be zero (no failure).

This patch fixes the expected calls to fail with EOVERFLOW. These tests
are only enabled to 32-bit systems, and are probably not being tested on
the arm32 buildbot, that's why this was not a problem before.
parent 10fb71bd
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment