Would the attached workaround the issue?

Carlo
>From 1fb2147cead1d201b64f4b17154181cd6278eb7f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Carlo=20Marcelo=20Arenas=20Bel=C3=B3n?= <care...@gmail.com>
Date: Sat, 13 May 2023 07:28:35 -0700
Subject: [PATCH] tests: skip y2038 test upon compare failure

* tests/y2038-vs-32-bit: Skip rather than fail, when
  the compare (usually using diff) setup fails.  That command failed
  on linux m68k.
---
 tests/y2038-vs-32-bit | 2 ++
 1 file changed, 2 insertions(+)

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

Reply via email to