Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/tests/net/mpls Before pinging, wait for addresses to come ou...
details: https://anonhg.NetBSD.org/src/rev/1d5709e31ed8
branches: trunk
changeset: 338181:1d5709e31ed8
user: martin <martin%NetBSD.org@localhost>
date: Wed May 13 12:01:24 2015 +0000
description:
Before pinging, wait for addresses to come out of tentative state
diffstat:
tests/net/mpls/t_ldp_regen.sh | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
diffs (27 lines):
diff -r ca86bfc76aa6 -r 1d5709e31ed8 tests/net/mpls/t_ldp_regen.sh
--- a/tests/net/mpls/t_ldp_regen.sh Wed May 13 11:36:12 2015 +0000
+++ b/tests/net/mpls/t_ldp_regen.sh Wed May 13 12:01:24 2015 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: t_ldp_regen.sh,v 1.5 2015/05/04 10:57:17 martin Exp $
+# $NetBSD: t_ldp_regen.sh,v 1.6 2015/05/13 12:01:24 martin Exp $
#
# Copyright (c) 2013 The NetBSD Foundation, Inc.
# All rights reserved.
@@ -57,6 +57,8 @@
# Add new address on R4
RUMP_SERVER=${RUMP_SERVER4} atf_check -s exit:0 \
rump.ifconfig shmif1 10.0.5.1/24 alias
+ RUMP_SERVER=${RUMP_SERVER4} atf_check -s exit:0 \
+ rump.ifconfig -w 60
# Now ldpd on R5 should take notice of the new route and announce it
# to R4's ldpd. ldpd on R4 should verify that the next hop
@@ -145,6 +147,8 @@
wait_ldp_ok() {
RUMP_SERVER=${RUMP_SERVER1} atf_check -s exit:0 -o ignore -e ignore \
+ rump.ifconfig -w 60
+ RUMP_SERVER=${RUMP_SERVER1} atf_check -s exit:0 -o ignore -e ignore \
rump.ping -o -w 60 10.0.4.1
}
Home |
Main Index |
Thread Index |
Old Index