[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
FYI: [PATCH] tests: skip y2038 test upon touch setup failure
From: |
Jim Meyering |
Subject: |
FYI: [PATCH] tests: skip y2038 test upon touch setup failure |
Date: |
Mon, 10 Apr 2023 07:26:48 -0700 |
I've adjusted the y2038 test to skip rather than fail when it
is merely the setup-required "touch" command that fails.
>From 3b15d738978fb5e4a865f5f6e99a08e8fc840948 Mon Sep 17 00:00:00 2001
From: Jim Meyering <meyering@fb.com>
Date: Mon, 10 Apr 2023 07:22:25 -0700
Subject: [PATCH] tests: skip y2038 test upon touch setup failure
* tests/y2038-vs-32-bit: Skip rather than fail, when
the touch -t 2039... setup fails. That command failed
on a solaris10 sparc build farm host.
---
tests/y2038-vs-32-bit | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tests/y2038-vs-32-bit b/tests/y2038-vs-32-bit
index 374f855..3d3e9ae 100755
--- a/tests/y2038-vs-32-bit
+++ b/tests/y2038-vs-32-bit
@@ -5,7 +5,7 @@
fail=0
echo text > in || framework_failure_
-touch -t 203901010000 in || framework_failure_
+touch -t 203901010000 in || skip_ 'touch -t 2039... failed'
grep t in > out 2> err || fail=1
compare in out || fail=1
compare /dev/null err || fail=1
--
2.40.0.316.gf285f68a13
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- FYI: [PATCH] tests: skip y2038 test upon touch setup failure,
Jim Meyering <=