Source-Changes-HG archive

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

[src/trunk]: src/tests/net/ipsec Revert "Mark tests of tunnel/AH/IPv6 as expe...



details:   https://anonhg.NetBSD.org/src/rev/9daf736d61ac
branches:  trunk
changeset: 352952:9daf736d61ac
user:      ozaki-r <ozaki-r%NetBSD.org@localhost>
date:      Sun Apr 16 10:34:49 2017 +0000

description:
Revert "Mark tests of tunnel/AH/IPv6 as expected failure (PR kern/52161)"

The issue was fixed by christos@

diffstat:

 tests/net/ipsec/t_ipsec_tunnel.sh |  15 +++------------
 1 files changed, 3 insertions(+), 12 deletions(-)

diffs (46 lines):

diff -r 0afaaf2d6e67 -r 9daf736d61ac tests/net/ipsec/t_ipsec_tunnel.sh
--- a/tests/net/ipsec/t_ipsec_tunnel.sh Sun Apr 16 07:05:24 2017 +0000
+++ b/tests/net/ipsec/t_ipsec_tunnel.sh Sun Apr 16 10:34:49 2017 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: t_ipsec_tunnel.sh,v 1.2 2017/04/14 03:35:40 ozaki-r Exp $
+#      $NetBSD: t_ipsec_tunnel.sh,v 1.3 2017/04/16 10:34:49 ozaki-r Exp $
 #
 # Copyright (c) 2017 Internet Initiative Japan Inc.
 # All rights reserved.
@@ -312,15 +312,11 @@
        local ipproto=$1
        local proto=$2
        local algo=$3
-       local expected_failure=$4
        local _algo=$(echo $algo | sed 's/-//g')
-       local name= desc= expected_failure_code=
+       local name= desc=
 
        name="ipsec_tunnel_${ipproto}_${proto}_${_algo}"
        desc="Tests of IPsec ($ipproto) tunnel mode with $proto ($algo)"
-       if [ "$expected_failure" = yes ]; then
-               expected_failure_code="atf_expect_fail 'PR kern/52161';"
-       fi
 
        atf_test_case ${name} cleanup
        eval "                                                          \
@@ -329,7 +325,6 @@
                atf_set \"require.progs\" \"rump_server\" \"setkey\";   \
            };                                                          \
            ${name}_body() {                                            \
-               $expected_failure_code                                  \
                test_tunnel_common $ipproto $proto $algo;               \
                rump_server_destroy_ifaces;                             \
            };                                                          \
@@ -352,10 +347,6 @@
 
        for algo in $AH_AUTHENTICATION_ALGORITHMS; do
                add_test_tunnel_mode ipv4 ah $algo
-               if [ $algo = null ]; then
-                       add_test_tunnel_mode ipv6 ah $algo
-               else
-                       add_test_tunnel_mode ipv6 ah $algo yes
-               fi
+               add_test_tunnel_mode ipv6 ah $algo
        done
 }



Home | Main Index | Thread Index | Old Index