Module Name:    src
Committed By:   christos
Date:           Mon Sep 24 16:25:24 UTC 2018

Modified Files:
        src/tests/crypto/libcrypto: t_hashes.sh t_libcrypto.sh

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


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/tests/crypto/libcrypto/t_hashes.sh
cvs rdiff -u -r1.5 -r1.6 src/tests/crypto/libcrypto/t_libcrypto.sh

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/tests/crypto/libcrypto/t_hashes.sh
diff -u src/tests/crypto/libcrypto/t_hashes.sh:1.3 src/tests/crypto/libcrypto/t_hashes.sh:1.4
--- src/tests/crypto/libcrypto/t_hashes.sh:1.3	Thu Feb 22 09:24:03 2018
+++ src/tests/crypto/libcrypto/t_hashes.sh	Mon Sep 24 12:25:24 2018
@@ -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 @@ md2_body()
 	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_init_test_cases()
 {
 	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
 }

Index: src/tests/crypto/libcrypto/t_libcrypto.sh
diff -u src/tests/crypto/libcrypto/t_libcrypto.sh:1.5 src/tests/crypto/libcrypto/t_libcrypto.sh:1.6
--- src/tests/crypto/libcrypto/t_libcrypto.sh:1.5	Thu Feb 22 09:24:03 2018
+++ src/tests/crypto/libcrypto/t_libcrypto.sh	Mon Sep 24 12:25:24 2018
@@ -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 @@ engine_body()
 	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 @@ conf_body()
 		$(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 @@ threads_body()
 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
 }

Reply via email to