tst: Add test for utime
authorLukasz Majewski <lukma@denx.de>
Wed, 24 Feb 2021 21:19:06 +0000 (22:19 +0100)
committerLukasz Majewski <lukma@denx.de>
Tue, 2 Mar 2021 12:31:13 +0000 (13:31 +0100)
commitdec445d40dc5523661b8ab8cf112e179508ee06d
treede9505fac95b4b6b2d31c689c2519fc8c56066a9
parente0685bacd585df63a7236b7f117f8c3ca8c38dad
tst: Add test for utime

This patch provides test for utime. It uses wrapper to read access
and modification times to compare them with ones written by utime.

Moreover, access and modification times beyond the Y2038 threshold
date (i.e. 32 bit time_t overflow) are also checked.

Reviewed-by: Adhemerval Zanella <adhemerval.zanella@linaro.org>
sysdeps/unix/sysv/linux/Makefile
sysdeps/unix/sysv/linux/tst-utime.c [new file with mode: 0644]