Files
mbedtls/tests/suites/test_suite_platform_unix.data
Gilles Peskine 5c6ec6bcc0 Add smoke test for gettimeofday()
Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com>
2026-03-03 15:19:58 +01:00

17 lines
524 B
Plaintext

<unistd.h> smoke test
unistd_available:
# At the time of writing, we don't actually use CLOCK_REALTIME.
# But it's the only clock that's guaranteed by POSIX.
clock_gettime(CLOCK_REALTIME) smoke test
clock_gettime_available:CLOCK_REALTIME
# Used for mbedtls_ms_time() on platforms where we don't think
# CLOCK_BOOTTIME is available.
clock_gettime(CLOCK_MONOTONIC) smoke test
clock_gettime_available:CLOCK_MONOTONIC
# Used in library/timing.c and programs/test/benchmark.c
gettimeofday() smoke test
gettimeofday_available: