diff options
author | Jim Meyering <meyering@fb.com> | 2023-04-10 07:22:25 -0700 |
---|---|---|
committer | Jim Meyering <meyering@meta.com> | 2023-04-10 07:22:25 -0700 |
commit | 3b15d738978fb5e4a865f5f6e99a08e8fc840948 (patch) | |
tree | 2bd4f1bd0db02cf2513f74d00cb66d57ec6e30c2 | |
parent | e4983bd587f318fb185ab8328587453abeee4c65 (diff) | |
download | grep-3b15d738978fb5e4a865f5f6e99a08e8fc840948.tar.gz |
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.
-rwxr-xr-x | tests/y2038-vs-32-bit | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/y2038-vs-32-bit b/tests/y2038-vs-32-bit index 374f855a..3d3e9ae5 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 |