diff options
author | Theo Buehler <tb@openbsd.org> | 2024-05-25 20:10:43 +0200 |
---|---|---|
committer | Theo Buehler <tb@openbsd.org> | 2024-05-25 21:32:38 +0200 |
commit | 7f39dda15a1232ae253680c07a17a0845c365ef1 (patch) | |
tree | c3aaf696eda652f18751287b3fa4acdc65a030d1 /tests/rfc5280time_small.test | |
parent | f9874d49f651177d643cc86f8837db44c4a29558 (diff) | |
download | portable-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-x | tests/rfc5280time_small.test | 10 |
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 | ||
2 | set -e | ||
3 | echo 1..2 | ||
4 | TEST=./rfc5280time | ||
5 | if [ -e ./rfc5280time.exe ]; then | ||
6 | TEST=./rfc5280time.exe | ||
7 | fi | ||
8 | $TEST | ||
9 | echo "ok 1" | ||
10 | echo "ok 2 - rfc5280time_64-bit # SKIP this system is unable to represent times past 2038" | ||