From 1bbdb03ecbffddaebbe043382bc2e5657b768672 Mon Sep 17 00:00:00 2001 From: Collin Funk Date: Mon, 20 May 2024 14:34:11 -0700 Subject: [PATCH 2/2] tests: Update expected tests results on NetBSD. These tests were fixed by the previous commit. * modules/fdutimensat-tests (Depends-on): Remove test-xfail. (Makefile.am): Expect that test-fdutimensat succeeds on NetBSD. * modules/futimens-tests (Depends-on): Remove test-xfail. (Makefile.am): Expect that test-futimens succeeds on NetBSD. * modules/utimens-tests (Depends-on): Remove test-xfail. (Makefile.am): Expect that test-utimens succeeds on NetBSD. * modules/utimensat-tests (Depends-on): Remove test-xfail. (Makefile.am): Expect that test-utimensat succeeds on NetBSD. --- ChangeLog | 11 +++++++++++ modules/fdutimensat-tests | 5 ----- modules/futimens-tests | 5 ----- modules/utimens-tests | 5 ----- modules/utimensat-tests | 5 ----- 5 files changed, 11 insertions(+), 20 deletions(-) diff --git a/ChangeLog b/ChangeLog index 5dd7fe7e69..dd5b0c4c66 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,16 @@ 2024-05-20 Collin Funk + tests: Update expected tests results on NetBSD. + These tests were fixed by the previous commit. + * modules/fdutimensat-tests (Depends-on): Remove test-xfail. + (Makefile.am): Expect that test-fdutimensat succeeds on NetBSD. + * modules/futimens-tests (Depends-on): Remove test-xfail. + (Makefile.am): Expect that test-futimens succeeds on NetBSD. + * modules/utimens-tests (Depends-on): Remove test-xfail. + (Makefile.am): Expect that test-utimens succeeds on NetBSD. + * modules/utimensat-tests (Depends-on): Remove test-xfail. + (Makefile.am): Expect that test-utimensat succeeds on NetBSD. + utimensat, utimens: Work around NetBSD 10.0 bugs. * lib/utimens.c (fdutimens): Work around a NetBSD 10.0 UTIME_OMIT bug in the same way as Linux kernel 2.6.32 and Solaris 11.1. diff --git a/modules/fdutimensat-tests b/modules/fdutimensat-tests index 29113f0cdb..c2f0d59f3d 100644 --- a/modules/fdutimensat-tests +++ b/modules/fdutimensat-tests @@ -16,7 +16,6 @@ stdckdint timespec dup utimecmp -test-xfail configure.ac: @@ -25,7 +24,3 @@ TESTS += test-fdutimensat check_PROGRAMS += test-fdutimensat test_fdutimensat_LDADD = $(LDADD) $(CLOCK_TIME_LIB) \ $(NANOSLEEP_LIB) @LIBINTL@ - -if OS_IS_NETBSD -XFAIL_TESTS += test-fdutimensat -endif diff --git a/modules/futimens-tests b/modules/futimens-tests index 7364321cb5..c6f62d9d3c 100644 --- a/modules/futimens-tests +++ b/modules/futimens-tests @@ -15,7 +15,6 @@ stdckdint timespec dup utimecmp -test-xfail configure.ac: @@ -23,7 +22,3 @@ Makefile.am: TESTS += test-futimens check_PROGRAMS += test-futimens test_futimens_LDADD = $(LDADD) $(CLOCK_TIME_LIB) $(NANOSLEEP_LIB) @LIBINTL@ - -if OS_IS_NETBSD -XFAIL_TESTS += test-futimens -endif diff --git a/modules/utimens-tests b/modules/utimens-tests index 3ef54ce36d..381139c8dd 100644 --- a/modules/utimens-tests +++ b/modules/utimens-tests @@ -16,7 +16,6 @@ stdckdint symlink timespec utimecmp -test-xfail configure.ac: @@ -24,7 +23,3 @@ Makefile.am: TESTS += test-utimens check_PROGRAMS += test-utimens test_utimens_LDADD = $(LDADD) $(CLOCK_TIME_LIB) $(NANOSLEEP_LIB) @LIBINTL@ - -if OS_IS_NETBSD -XFAIL_TESTS += test-utimens -endif diff --git a/modules/utimensat-tests b/modules/utimensat-tests index 720f46e1c7..0ba5e09e02 100644 --- a/modules/utimensat-tests +++ b/modules/utimensat-tests @@ -13,7 +13,6 @@ nanosleep stdckdint timespec utimecmp -test-xfail configure.ac: @@ -21,7 +20,3 @@ Makefile.am: TESTS += test-utimensat check_PROGRAMS += test-utimensat test_utimensat_LDADD = $(LDADD) $(CLOCK_TIME_LIB) $(NANOSLEEP_LIB) @LIBINTL@ - -if OS_IS_NETBSD -XFAIL_TESTS += test-utimensat -endif -- 2.45.1