Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/tests/net/ndp Restore multiple_routers_single_prefix_cleanup...
details: https://anonhg.NetBSD.org/src/rev/053667e1a781
branches: trunk
changeset: 349735:053667e1a781
user: ozaki-r <ozaki-r%NetBSD.org@localhost>
date: Wed Dec 21 07:02:16 2016 +0000
description:
Restore multiple_routers_single_prefix_cleanup removed wrongly
diffstat:
tests/net/ndp/t_ra.sh | 18 +++++++++++++++++-
1 files changed, 17 insertions(+), 1 deletions(-)
diffs (32 lines):
diff -r e446e1a94a75 -r 053667e1a781 tests/net/ndp/t_ra.sh
--- a/tests/net/ndp/t_ra.sh Wed Dec 21 04:08:47 2016 +0000
+++ b/tests/net/ndp/t_ra.sh Wed Dec 21 07:02:16 2016 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: t_ra.sh,v 1.16 2016/12/20 10:12:24 ozaki-r Exp $
+# $NetBSD: t_ra.sh,v 1.17 2016/12/21 07:02:16 ozaki-r Exp $
#
# Copyright (c) 2015 Internet Initiative Japan Inc.
# All rights reserved.
@@ -494,6 +494,22 @@
rump_server_destroy_ifaces
}
+multiple_routers_single_prefix_cleanup()
+{
+
+ if [ -f ${PIDFILE} ]; then
+ kill -TERM `cat ${PIDFILE}`
+ wait_term ${PIDFILE}
+ fi
+ if [ -f ${PIDFILE1_2} ]; then
+ kill -TERM `cat ${PIDFILE1_2}`
+ wait_term ${PIDFILE1_2}
+ fi
+
+ $DEBUG && dump
+ cleanup
+}
+
atf_test_case ra_multiple_routers_maxifprefixes cleanup
ra_multiple_routers_maxifprefixes_head()
{
Home |
Main Index |
Thread Index |
Old Index