aboutsummaryrefslogtreecommitdiff
path: root/tests/rfc5280time_small.test
diff options
context:
space:
mode:
authorTheo Buehler <tb@openbsd.org>2024-05-25 20:10:43 +0200
committerTheo Buehler <tb@openbsd.org>2024-05-25 21:32:38 +0200
commit7f39dda15a1232ae253680c07a17a0845c365ef1 (patch)
treec3aaf696eda652f18751287b3fa4acdc65a030d1 /tests/rfc5280time_small.test
parentf9874d49f651177d643cc86f8837db44c4a29558 (diff)
downloadportable-7f39dda15a1232ae253680c07a17a0845c365ef1.tar.gz
portable-7f39dda15a1232ae253680c07a17a0845c365ef1.tar.bz2
portable-7f39dda15a1232ae253680c07a17a0845c365ef1.zip
Clean up the time_t test mess
The RFC 5280 test now passes also with small time_t. The ASN.1 time test now has a test case that makes it fail for small time t. In that case use a wrapper script that prins why the test is expected to fail and makes the test suite fail if it passes.
Diffstat (limited to 'tests/rfc5280time_small.test')
-rwxr-xr-xtests/rfc5280time_small.test10
1 files changed, 0 insertions, 10 deletions
diff --git a/tests/rfc5280time_small.test b/tests/rfc5280time_small.test
deleted file mode 100755
index 3730597..0000000
--- a/tests/rfc5280time_small.test
+++ /dev/null
@@ -1,10 +0,0 @@
1#!/bin/sh
2set -e
3echo 1..2
4TEST=./rfc5280time
5if [ -e ./rfc5280time.exe ]; then
6 TEST=./rfc5280time.exe
7fi
8$TEST
9echo "ok 1"
10echo "ok 2 - rfc5280time_64-bit # SKIP this system is unable to represent times past 2038"