Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/tests/net/ipsec Don't check the existence of SA entries eagerly
details: https://anonhg.NetBSD.org/src/rev/759dd072c425
branches: trunk
changeset: 824005:759dd072c425
user: ozaki-r <ozaki-r%NetBSD.org@localhost>
date: Thu May 18 14:43:42 2017 +0000
description:
Don't check the existence of SA entries eagerly
They can be expired at that point if their lifetime is very short.
This may fix unexpected failures of tests running on anita.
diffstat:
tests/net/ipsec/t_ipsec_misc.sh | 8 +++++---
1 files changed, 5 insertions(+), 3 deletions(-)
diffs (29 lines):
diff -r c4470aaadc41 -r 759dd072c425 tests/net/ipsec/t_ipsec_misc.sh
--- a/tests/net/ipsec/t_ipsec_misc.sh Thu May 18 13:56:58 2017 +0000
+++ b/tests/net/ipsec/t_ipsec_misc.sh Thu May 18 14:43:42 2017 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: t_ipsec_misc.sh,v 1.2 2017/05/17 06:30:15 ozaki-r Exp $
+# $NetBSD: t_ipsec_misc.sh,v 1.3 2017/05/18 14:43:42 ozaki-r Exp $
#
# Copyright (c) 2017 Internet Initiative Japan Inc.
# All rights reserved.
@@ -48,7 +48,8 @@
EOF
$DEBUG && cat $tmpfile
atf_check -s exit:0 -o empty $HIJACKING setkey -c < $tmpfile
- check_sa_entries $SOCK_LOCAL $ip_local $ip_peer
+ # XXX it can be expired if $lifetime is very short
+ #check_sa_entries $SOCK_LOCAL $ip_local $ip_peer
export RUMP_SERVER=$SOCK_PEER
cat > $tmpfile <<-EOF
@@ -58,7 +59,8 @@
EOF
$DEBUG && cat $tmpfile
atf_check -s exit:0 -o empty $HIJACKING setkey -c < $tmpfile
- check_sa_entries $SOCK_PEER $ip_local $ip_peer
+ # XXX it can be expired if $lifetime is very short
+ #check_sa_entries $SOCK_PEER $ip_local $ip_peer
}
test_ipsec4_lifetime()
Home |
Main Index |
Thread Index |
Old Index