mirror of
https://github.com/libressl/portable.git
synced 2026-01-17 21:51:17 +01:00
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.
11 lines
228 B
Bash
Executable File
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"
|