From 1966f47a1e54f962a355a5f6a6b730c9848ab956 Mon Sep 17 00:00:00 2001 From: Stefan Liebler Date: Wed, 17 Mar 2021 14:03:52 +0100 Subject: S390: Don't test nanoseconds in io/tst-stat.c Both new tests io/tst-stat and io/tst-stat-lfs (_FILE_OFFSET_BITS=64) are comparing the nanosecond fields with the statx result. Unfortunately on s390(31bit) those fields are always zero if old KABI with non-LFS support is used. With _FILE_OFFSET_BITS=64 stat is using statx internally. As suggested by Adhemerval this patch disables the nanosecond check for s390(31bit). Reviewed-by: Adhemerval Zanella --- support/Makefile | 1 + 1 file changed, 1 insertion(+) (limited to 'support/Makefile') diff --git a/support/Makefile b/support/Makefile index fc9f4936a8..900e17f94f 100644 --- a/support/Makefile +++ b/support/Makefile @@ -71,6 +71,7 @@ libsupport-routines = \ support_set_small_thread_stack_size \ support_shared_allocate \ support_small_stack_thread_attribute \ + support_stat_nanoseconds \ support_subprocess \ support_test_compare_blob \ support_test_compare_failure \ -- cgit v1.2.3