Files
libressl/tests/asn1time_small.test
Theo Buehler 7f39dda15a 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.
2024-05-25 21:32:38 +02:00

11 lines
228 B
Bash
Executable File

#!/bin/sh
echo 1..1
TEST=./asn1time
if [ -e ./asn1time.exe ]; then
TEST=./asn1time.exe
fi
# map test failure to XFAIL and success to XPASS
$TEST || echo -n "not "
echo "ok # this system is unable to represent times past 2038"