From: Dmitry V. Levin Date: Wed, 24 Aug 2016 00:29:47 +0000 (+0000) Subject: Revert "tests/xstatx.c: fix stat syscall tests on mips64" X-Git-Tag: v4.14~167 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=6fc53380c64829436d8f590eb41c5fc1e851df65;p=strace Revert "tests/xstatx.c: fix stat syscall tests on mips64" Previous commit effectively changed types of st_atime, st_ctime, and st_mtime members of struct stat and struct stat64 to signed integers, making the mips64 workaround obsolete. This reverts commit 3fb84bfc79949c145197c61fbf04ce18464e9112. * tests/xstatx.c (create_sample) [__mips64]: Remove. --- diff --git a/tests/xstatx.c b/tests/xstatx.c index 24867acc..48b36873 100644 --- a/tests/xstatx.c +++ b/tests/xstatx.c @@ -188,12 +188,7 @@ static int create_sample(const char *fname, const libc_off_t size) { static const struct timespec ts[] = { -#ifdef __mips64 - // On mips64, struct stat cannot handle negative timestamps - {10841, 246}, {10843, 135} -#else {-10843, 135}, {-10841, 246} -#endif }; (void) close(0);