make it clear that we skipped 64-bit time_t tests
This commit is contained in:
parent
0197a58969
commit
c8c23ad8e3
12
.gitignore
vendored
12
.gitignore
vendored
@ -49,13 +49,14 @@ Makefile.in
|
|||||||
test-driver
|
test-driver
|
||||||
*.log
|
*.log
|
||||||
*.trs
|
*.trs
|
||||||
!tests/optionstest.c
|
|
||||||
tests/aes_wrap*
|
tests/aes_wrap*
|
||||||
tests/arc4random_fork*
|
tests/arc4random_fork*
|
||||||
|
tests/asn1time*
|
||||||
tests/cipher*
|
tests/cipher*
|
||||||
tests/explicit_bzero*
|
tests/explicit_bzero*
|
||||||
tests/gost2814789t*
|
tests/gost2814789t*
|
||||||
tests/mont*
|
tests/mont*
|
||||||
|
tests/rfc5280time*
|
||||||
tests/timingsafe*
|
tests/timingsafe*
|
||||||
tests/*test
|
tests/*test
|
||||||
tests/tests.h
|
tests/tests.h
|
||||||
@ -65,6 +66,8 @@ tests/pbkdf2*
|
|||||||
tests/*.pem
|
tests/*.pem
|
||||||
tests/testssl
|
tests/testssl
|
||||||
tests/*.txt
|
tests/*.txt
|
||||||
|
!tests/optionstest.c
|
||||||
|
!tests/*.test
|
||||||
|
|
||||||
# ctags stuff
|
# ctags stuff
|
||||||
TAGS
|
TAGS
|
||||||
@ -94,6 +97,7 @@ ltmain.sh
|
|||||||
missing
|
missing
|
||||||
stamp-h1
|
stamp-h1
|
||||||
stamp-h2
|
stamp-h2
|
||||||
|
tap-driver.sh
|
||||||
|
|
||||||
include/openssl/Makefile.am
|
include/openssl/Makefile.am
|
||||||
|
|
||||||
@ -111,18 +115,18 @@ include/pqueue.h
|
|||||||
include/tls.h
|
include/tls.h
|
||||||
include/openssl/*.h
|
include/openssl/*.h
|
||||||
|
|
||||||
!/apps/nc/readpassphrase.c
|
|
||||||
/apps/nc/*.h
|
/apps/nc/*.h
|
||||||
/apps/nc/*.c
|
/apps/nc/*.c
|
||||||
/apps/nc/nc*
|
/apps/nc/nc*
|
||||||
!/apps/openssl/apps_win.c
|
!/apps/nc/readpassphrase.c
|
||||||
!/apps/openssl/certhash_win.c
|
|
||||||
/apps/openssl/*.h
|
/apps/openssl/*.h
|
||||||
/apps/openssl/*.c
|
/apps/openssl/*.c
|
||||||
/apps/openssl/*.cnf
|
/apps/openssl/*.cnf
|
||||||
/apps/openssl/*.pem
|
/apps/openssl/*.pem
|
||||||
/apps/openssl/openssl
|
/apps/openssl/openssl
|
||||||
/apps/openssl/compat/strtonum.c
|
/apps/openssl/compat/strtonum.c
|
||||||
|
!/apps/openssl/apps_win.c
|
||||||
|
!/apps/openssl/certhash_win.c
|
||||||
|
|
||||||
!/crypto/Makefile.am.*
|
!/crypto/Makefile.am.*
|
||||||
!/crypto/compat/arc4random.h
|
!/crypto/compat/arc4random.h
|
||||||
|
@ -141,4 +141,6 @@ if test "$ac_cv_sizeof_time_t" = "4"; then
|
|||||||
echo " ** It will behave incorrectly when handling valid RFC5280 dates"
|
echo " ** It will behave incorrectly when handling valid RFC5280 dates"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
AC_REQUIRE_AUX_FILE([tap-driver.sh])
|
||||||
|
|
||||||
AC_OUTPUT
|
AC_OUTPUT
|
||||||
|
@ -11,6 +11,8 @@ LDADD += $(top_builddir)/ssl/libssl.la
|
|||||||
LDADD += $(top_builddir)/crypto/libcrypto.la
|
LDADD += $(top_builddir)/crypto/libcrypto.la
|
||||||
LDADD += $(top_builddir)/tls/libtls.la
|
LDADD += $(top_builddir)/tls/libtls.la
|
||||||
|
|
||||||
|
TEST_LOG_DRIVER = env AM_TAP_AWK='$(AWK)' $(SHELL) $(top_srcdir)/tap-driver.sh
|
||||||
|
|
||||||
TESTS =
|
TESTS =
|
||||||
check_PROGRAMS =
|
check_PROGRAMS =
|
||||||
EXTRA_DIST = CMakeLists.txt
|
EXTRA_DIST = CMakeLists.txt
|
||||||
@ -259,15 +261,14 @@ check_PROGRAMS += rc4test
|
|||||||
rc4test_SOURCES = rc4test.c
|
rc4test_SOURCES = rc4test.c
|
||||||
|
|
||||||
# rfc5280time
|
# rfc5280time
|
||||||
if SMALL_TIME_T
|
|
||||||
TESTS += rfc5280time_too_small
|
|
||||||
check_PROGRAMS += rfc5280time_too_small
|
|
||||||
rfc5280time_too_small_SOURCES = rfc5280time.c
|
|
||||||
else
|
|
||||||
TESTS += rfc5280time
|
|
||||||
check_PROGRAMS += rfc5280time
|
check_PROGRAMS += rfc5280time
|
||||||
rfc5280time_SOURCES = rfc5280time.c
|
rfc5280time_SOURCES = rfc5280time.c
|
||||||
|
if SMALL_TIME_T
|
||||||
|
TESTS += rfc5280time.test
|
||||||
|
else
|
||||||
|
TESTS += rfc5280time
|
||||||
endif
|
endif
|
||||||
|
EXTRA_DIST += rfc5280time.test
|
||||||
|
|
||||||
# rmdtest
|
# rmdtest
|
||||||
TESTS += rmdtest
|
TESTS += rmdtest
|
||||||
|
10
tests/rfc5280time.test
Executable file
10
tests/rfc5280time.test
Executable file
@ -0,0 +1,10 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
set -e
|
||||||
|
echo 1..2
|
||||||
|
TEST=./rfc5280time
|
||||||
|
if [ -e ./rfc5280time.exe ]; then
|
||||||
|
TEST=./rfc5280time.exe
|
||||||
|
fi
|
||||||
|
$TEST
|
||||||
|
echo "ok 1"
|
||||||
|
echo "ok 2 - rfc5280time_64-bit # SKIP this system is unable to represent times past 2038"
|
Loading…
x
Reference in New Issue
Block a user