Subject: bug#63484: FAIL: y2038-vs-32-bit

From: Carlo Marcelo Arenas Belón <[email-masked]>
Date: Sat, 13 May 2023 08:59:03 -0700

Could you apply the attached patch?

Carlo
>From b19df9fa4402349e8ae3c35f0e3738f66d354d59 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Carlo=20Marcelo=20Arenas=20Bel=C3=B3n?= <[email-masked]>
Date: Sat, 13 May 2023 07:28:35 -0700
Subject: [PATCH v2] tests: protect y2038 against diff failures

* tests/y2038-vs-32-bit: Use cmp instead of compare to avoid the
  possibility of failures if diff is not Y2K38 clean.
---
 tests/y2038-vs-32-bit | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/tests/y2038-vs-32-bit b/tests/y2038-vs-32-bit
index 3d3e9ae..7e12315 100755
--- a/tests/y2038-vs-32-bit
+++ b/tests/y2038-vs-32-bit
@@ -6,8 +6,10 @@ fail=0
 
 echo text > in || framework_failure_
 touch -t 203901010000 in || skip_ 'touch -t 2039... failed'
+cmp in in || skip_ 'cmp... failed'
+
 grep t in > out 2> err || fail=1
-compare in out || fail=1
 compare /dev/null err || fail=1
+cmp in out || fail=1
 
 Exit $fail
-- 
2.39.2 (Apple Git-143)