diff options
author | Adhemerval Zanella <adhemerval.zanella@linaro.org> | 2021-03-22 14:23:45 -0300 |
---|---|---|
committer | Adhemerval Zanella <adhemerval.zanella@linaro.org> | 2021-04-15 09:39:49 -0300 |
commit | 272e71dc366297781cd6ec5d8690e540d4b48398 (patch) | |
tree | 6982a2d0c0a4b73602cb6b0f51638de21481cfd0 /io/tst-futimes.c | |
parent | cc1b4029fa35ed533075ae9f1836a6bf44789285 (diff) | |
download | glibc-272e71dc366297781cd6ec5d8690e540d4b48398.tar glibc-272e71dc366297781cd6ec5d8690e540d4b48398.tar.gz glibc-272e71dc366297781cd6ec5d8690e540d4b48398.tar.bz2 glibc-272e71dc366297781cd6ec5d8690e540d4b48398.zip |
linux: Add lutimes test
It uses stat to compare against the values set by lutimes.
Checked on x86_64-linux-gnu and i686-linux-gnu.
Reviewed-by: Siddhesh Poyarekar <siddhesh@sourceware.org>
Diffstat (limited to 'io/tst-futimes.c')
-rw-r--r-- | io/tst-futimes.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/io/tst-futimes.c b/io/tst-futimes.c index ea7ac7d5f8..bdef38d7cb 100644 --- a/io/tst-futimes.c +++ b/io/tst-futimes.c @@ -39,7 +39,7 @@ test_futimens_helper (const char *file, int fd, const struct timeval *tv) return 0; } -#define TEST_CALL(fname, fd, v1, v2) \ +#define TEST_CALL(fname, fd, lname, v1, v2) \ test_futimens_helper (fname, fd, (struct timeval[]) { { v1, 0 }, \ { v2, 0 } }) |