Source-Changes-HG archive

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

[src/trunk]: src/tests/net/net PR bin/51532 - kill the test http server befor...



details:   https://anonhg.NetBSD.org/src/rev/822354b1e089
branches:  trunk
changeset: 348154:822354b1e089
user:      kre <kre%NetBSD.org@localhost>
date:      Thu Oct 06 02:44:48 2016 +0000

description:
PR bin/51532 - kill the test http server before terminating

diffstat:

 tests/net/net/t_mtudisc.sh |  4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diffs (25 lines):

diff -r c822a6357c77 -r 822354b1e089 tests/net/net/t_mtudisc.sh
--- a/tests/net/net/t_mtudisc.sh        Wed Oct 05 20:50:00 2016 +0000
+++ b/tests/net/net/t_mtudisc.sh        Thu Oct 06 02:44:48 2016 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: t_mtudisc.sh,v 1.1 2016/10/04 04:15:25 ozaki-r Exp $
+#      $NetBSD: t_mtudisc.sh,v 1.2 2016/10/06 02:44:48 kre Exp $
 #
 # Copyright (c) 2016 Internet Initiative Japan Inc.
 # All rights reserved.
@@ -207,6 +207,7 @@
        atf_check -s exit:0 \
                -o match:"^10.0.0.2 +10.0.1.1 +UGHS +- +- +1280 +shmif0" \
                rump.netstat -nr -f inet
+
 }
 
 cleanup()
@@ -240,6 +241,7 @@
 mtudisc_basic_cleanup()
 {
        $DEBUG && dump
+       kill "$(cat ${HTTPD_PID})"
        env RUMP_SERVER=$SOCKLOCAL rump.halt
        env RUMP_SERVER=$SOCKGATEWAY rump.halt
        env RUMP_SERVER=$SOCKREMOTE rump.halt



Home | Main Index | Thread Index | Old Index