Source-Changes-HG archive

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

[src/trunk]: src/tests/net/ipsec Repair test coverage. I revert by proxy as ...



details:   https://anonhg.NetBSD.org/src/rev/ffca4873dcc0
branches:  trunk
changeset: 376461:ffca4873dcc0
user:      knakahara <knakahara%NetBSD.org@localhost>
date:      Mon Jun 19 08:28:09 2023 +0000

description:
Repair test coverage.  I revert by proxy as the committer seems too busy to even reply mail.

TODO:
Provide some way for small machines to run subset test so that they get
shorter run time at the expense of test coverage.

diffstat:

 tests/net/ipsec/t_ipsec_ah_keys.sh       |  4 ++--
 tests/net/ipsec/t_ipsec_esp_keys.sh      |  4 ++--
 tests/net/ipsec/t_ipsec_transport.sh     |  8 ++++----
 tests/net/ipsec/t_ipsec_tunnel.sh        |  6 +++---
 tests/net/ipsec/t_ipsec_tunnel_ipcomp.sh |  4 ++--
 tests/net/ipsec/t_ipsec_tunnel_odd.sh    |  6 +++---
 6 files changed, 16 insertions(+), 16 deletions(-)

diffs (130 lines):

diff -r f3ea983f3232 -r ffca4873dcc0 tests/net/ipsec/t_ipsec_ah_keys.sh
--- a/tests/net/ipsec/t_ipsec_ah_keys.sh        Mon Jun 19 08:24:21 2023 +0000
+++ b/tests/net/ipsec/t_ipsec_ah_keys.sh        Mon Jun 19 08:28:09 2023 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: t_ipsec_ah_keys.sh,v 1.3 2023/06/04 22:18:47 chs Exp $
+#      $NetBSD: t_ipsec_ah_keys.sh,v 1.4 2023/06/19 08:28:09 knakahara Exp $
 #
 # Copyright (c) 2017 Internet Initiative Japan Inc.
 # All rights reserved.
@@ -152,7 +152,7 @@ add_test_invalid_keys()
 atf_init_test_cases()
 {
 
-       for aalgo in $AH_AUTHENTICATION_ALGORITHMS_MINIMUM; do
+       for aalgo in $AH_AUTHENTICATION_ALGORITHMS; do
                add_test_valid_keys $aalgo
                add_test_invalid_keys $aalgo
        done
diff -r f3ea983f3232 -r ffca4873dcc0 tests/net/ipsec/t_ipsec_esp_keys.sh
--- a/tests/net/ipsec/t_ipsec_esp_keys.sh       Mon Jun 19 08:24:21 2023 +0000
+++ b/tests/net/ipsec/t_ipsec_esp_keys.sh       Mon Jun 19 08:28:09 2023 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: t_ipsec_esp_keys.sh,v 1.3 2023/06/04 22:18:47 chs Exp $
+#      $NetBSD: t_ipsec_esp_keys.sh,v 1.4 2023/06/19 08:28:09 knakahara Exp $
 #
 # Copyright (c) 2017 Internet Initiative Japan Inc.
 # All rights reserved.
@@ -152,7 +152,7 @@ add_test_invalid_keys()
 atf_init_test_cases()
 {
 
-       for ealgo in $ESP_ENCRYPTION_ALGORITHMS_MINIMUM; do
+       for ealgo in $ESP_ENCRYPTION_ALGORITHMS; do
                add_test_valid_keys $ealgo
                add_test_invalid_keys $ealgo
        done
diff -r f3ea983f3232 -r ffca4873dcc0 tests/net/ipsec/t_ipsec_transport.sh
--- a/tests/net/ipsec/t_ipsec_transport.sh      Mon Jun 19 08:24:21 2023 +0000
+++ b/tests/net/ipsec/t_ipsec_transport.sh      Mon Jun 19 08:28:09 2023 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: t_ipsec_transport.sh,v 1.7 2023/06/04 22:18:47 chs Exp $
+#      $NetBSD: t_ipsec_transport.sh,v 1.8 2023/06/19 08:28:09 knakahara Exp $
 #
 # Copyright (c) 2017 Internet Initiative Japan Inc.
 # All rights reserved.
@@ -261,15 +261,15 @@ atf_init_test_cases()
 {
        local algo=
 
-       for algo in $ESP_ENCRYPTION_ALGORITHMS_MINIMUM; do
+       for algo in $ESP_ENCRYPTION_ALGORITHMS; do
                add_test_transport_mode ipv4 esp $algo
                add_test_transport_mode ipv6 esp $algo
        done
-       for algo in $AH_AUTHENTICATION_ALGORITHMS_MINIMUM; do
+       for algo in $AH_AUTHENTICATION_ALGORITHMS; do
                add_test_transport_mode ipv4 ah $algo
                add_test_transport_mode ipv6 ah $algo
        done
-       for algo in $IPCOMP_COMPRESSION_ALGORITHMS_MINIMUM; do
+       for algo in $IPCOMP_COMPRESSION_ALGORITHMS; do
                add_test_transport_mode ipv4 ipcomp $algo
                add_test_transport_mode ipv6 ipcomp $algo
        done
diff -r f3ea983f3232 -r ffca4873dcc0 tests/net/ipsec/t_ipsec_tunnel.sh
--- a/tests/net/ipsec/t_ipsec_tunnel.sh Mon Jun 19 08:24:21 2023 +0000
+++ b/tests/net/ipsec/t_ipsec_tunnel.sh Mon Jun 19 08:28:09 2023 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: t_ipsec_tunnel.sh,v 1.10 2023/06/04 22:18:47 chs Exp $
+#      $NetBSD: t_ipsec_tunnel.sh,v 1.11 2023/06/19 08:28:09 knakahara Exp $
 #
 # Copyright (c) 2017 Internet Initiative Japan Inc.
 # All rights reserved.
@@ -308,12 +308,12 @@ atf_init_test_cases()
 {
        local algo=
 
-       for algo in $ESP_ENCRYPTION_ALGORITHMS_MINIMUM; do
+       for algo in $ESP_ENCRYPTION_ALGORITHMS; do
                add_test_tunnel_mode ipv4 esp $algo
                add_test_tunnel_mode ipv6 esp $algo
        done
 
-       for algo in $AH_AUTHENTICATION_ALGORITHMS_MINIMUM; do
+       for algo in $AH_AUTHENTICATION_ALGORITHMS; do
                add_test_tunnel_mode ipv4 ah $algo
                add_test_tunnel_mode ipv6 ah $algo
        done
diff -r f3ea983f3232 -r ffca4873dcc0 tests/net/ipsec/t_ipsec_tunnel_ipcomp.sh
--- a/tests/net/ipsec/t_ipsec_tunnel_ipcomp.sh  Mon Jun 19 08:24:21 2023 +0000
+++ b/tests/net/ipsec/t_ipsec_tunnel_ipcomp.sh  Mon Jun 19 08:28:09 2023 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: t_ipsec_tunnel_ipcomp.sh,v 1.3 2023/06/04 22:18:47 chs Exp $
+#      $NetBSD: t_ipsec_tunnel_ipcomp.sh,v 1.4 2023/06/19 08:28:09 knakahara Exp $
 #
 # Copyright (c) 2017 Internet Initiative Japan Inc.
 # All rights reserved.
@@ -395,7 +395,7 @@ atf_init_test_cases()
 {
        local calgo= algo=
 
-       for calgo in $IPCOMP_COMPRESSION_ALGORITHMS_MINIMUM; do
+       for calgo in $IPCOMP_COMPRESSION_ALGORITHMS; do
                for algo in $ESP_ENCRYPTION_ALGORITHMS_MINIMUM; do
                        add_test_tunnel_mode ipv4 esp $algo $calgo
                        add_test_tunnel_mode ipv6 esp $algo $calgo
diff -r f3ea983f3232 -r ffca4873dcc0 tests/net/ipsec/t_ipsec_tunnel_odd.sh
--- a/tests/net/ipsec/t_ipsec_tunnel_odd.sh     Mon Jun 19 08:24:21 2023 +0000
+++ b/tests/net/ipsec/t_ipsec_tunnel_odd.sh     Mon Jun 19 08:28:09 2023 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: t_ipsec_tunnel_odd.sh,v 1.4 2023/06/04 22:18:47 chs Exp $
+#      $NetBSD: t_ipsec_tunnel_odd.sh,v 1.5 2023/06/19 08:28:09 knakahara Exp $
 #
 # Copyright (c) 2017 Internet Initiative Japan Inc.
 # All rights reserved.
@@ -324,12 +324,12 @@ atf_init_test_cases()
 {
        local algo=
 
-       for algo in $ESP_ENCRYPTION_ALGORITHMS_MINIMUM; do
+       for algo in $ESP_ENCRYPTION_ALGORITHMS; do
                add_test_tunnel_mode v4v6 esp $algo
                add_test_tunnel_mode v6v4 esp $algo
        done
 
-       for algo in $AH_AUTHENTICATION_ALGORITHMS_MINIMUM; do
+       for algo in $AH_AUTHENTICATION_ALGORITHMS; do
                add_test_tunnel_mode v4v6 ah $algo
                add_test_tunnel_mode v6v4 ah $algo
        done



Home | Main Index | Thread Index | Old Index