Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/tests/crypto/libcrypto Remove tests that don't exist anymore...



details:   https://anonhg.NetBSD.org/src/rev/8518e4eaad01
branches:  trunk
changeset: 433625:8518e4eaad01
user:      christos <christos%NetBSD.org@localhost>
date:      Mon Sep 24 16:25:24 2018 +0000

description:
Remove tests that don't exist anymore in OpenSSL-1.1.1 (We should add the
one ones it adds though :-)

diffstat:

 tests/crypto/libcrypto/t_hashes.sh    |  47 +----------------------------------
 tests/crypto/libcrypto/t_libcrypto.sh |  25 +-----------------
 2 files changed, 2 insertions(+), 70 deletions(-)

diffs (121 lines):

diff -r 72153f180520 -r 8518e4eaad01 tests/crypto/libcrypto/t_hashes.sh
--- a/tests/crypto/libcrypto/t_hashes.sh        Mon Sep 24 13:18:35 2018 +0000
+++ b/tests/crypto/libcrypto/t_hashes.sh        Mon Sep 24 16:25:24 2018 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: t_hashes.sh,v 1.3 2018/02/22 14:24:03 martin Exp $
+# $NetBSD: t_hashes.sh,v 1.4 2018/09/24 16:25:24 christos Exp $
 #
 # Copyright (c) 2008, 2009, 2010 The NetBSD Foundation, Inc.
 # All rights reserved.
@@ -45,47 +45,6 @@
        atf_check -o ignore -e ignore "$(atf_get_srcdir)/h_md2test"
 }
 
-atf_test_case md4
-md4_head()
-{
-       atf_set "descr" "Checks MD4 digest"
-}
-md4_body()
-{
-       atf_check -o ignore -e ignore "$(atf_get_srcdir)/h_md4test"
-}
-
-atf_test_case md5
-md5_head()
-{
-       atf_set "descr" "Checks MD5 digest"
-}
-md5_body()
-{
-       atf_check -o ignore -e ignore "$(atf_get_srcdir)/h_md5test"
-}
-
-atf_test_case ripemd
-ripemd_head()
-{
-       atf_set "descr" "Checks RMD-160 digest"
-}
-ripemd_body()
-{
-       atf_check -o ignore -e ignore "$(atf_get_srcdir)/h_ripemdtest"
-}
-
-atf_test_case sha
-sha_head()
-{
-       atf_set "descr" "Checks SHA-1 digest"
-}
-sha_body()
-{
-       atf_check -o ignore -e ignore "$(atf_get_srcdir)/h_shatest"
-}
-
-
 atf_test_case mdc2
 mdc2_head()
 {
@@ -100,9 +59,5 @@
 {
        atf_add_test_case hmac
        atf_add_test_case md2
-       atf_add_test_case md4
-       atf_add_test_case md5
-       atf_add_test_case ripemd
-       openssl version | fgrep -q "OpenSSL 1.0" && atf_add_test_case sha
        atf_add_test_case mdc2
 }
diff -r 72153f180520 -r 8518e4eaad01 tests/crypto/libcrypto/t_libcrypto.sh
--- a/tests/crypto/libcrypto/t_libcrypto.sh     Mon Sep 24 13:18:35 2018 +0000
+++ b/tests/crypto/libcrypto/t_libcrypto.sh     Mon Sep 24 16:25:24 2018 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: t_libcrypto.sh,v 1.5 2018/02/22 14:24:03 martin Exp $
+# $NetBSD: t_libcrypto.sh,v 1.6 2018/09/24 16:25:24 christos Exp $
 #
 # Copyright (c) 2008, 2009, 2010 The NetBSD Foundation, Inc.
 # All rights reserved.
@@ -35,16 +35,6 @@
        atf_check -o ignore -e ignore "$(atf_get_srcdir)/h_enginetest"
 }
 
-atf_test_case rand
-rand_head()
-{
-       atf_set "descr" "Checks peudo-random number generator"
-}
-rand_body()
-{
-       atf_check -o ignore -e ignore "$(atf_get_srcdir)/h_randtest"
-}
-
 atf_test_case bn
 bn_head()
 {
@@ -71,17 +61,6 @@
                $(atf_get_srcdir)/h_conftest
 }
 
-atf_test_case lhash
-lhash_head()
-{
-       atf_set "descr" "Checks lhash - dynamic hash tables"
-}
-lhash_body()
-{
-       atf_check -o ignore -e ignore -x \
-               "echo hoge | $(atf_get_srcdir)/h_lhashtest"
-}
-
 atf_test_case threads
 threads_head()
 {
@@ -99,9 +78,7 @@
 atf_init_test_cases()
 {
        atf_add_test_case engine
-       atf_add_test_case rand
        atf_add_test_case bn
        atf_add_test_case conf
-       openssl version | fgrep -q "OpenSSL 1.0" && atf_add_test_case lhash
        atf_add_test_case threads
 }



Home | Main Index | Thread Index | Old Index