Source-Changes-HG archive

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

[src/trunk]: src/tests/lib/librumphijack Halt the httpd server _before_ rump....



details:   https://anonhg.NetBSD.org/src/rev/882359402218
branches:  trunk
changeset: 763642:882359402218
user:      jmmv <jmmv%NetBSD.org@localhost>
date:      Tue Mar 29 16:03:32 2011 +0000

description:
Halt the httpd server _before_ rump.  Per pooka@'s suggestion.

diffstat:

 tests/lib/librumphijack/t_tcpip.sh |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (24 lines):

diff -r cef66c50224f -r 882359402218 tests/lib/librumphijack/t_tcpip.sh
--- a/tests/lib/librumphijack/t_tcpip.sh        Tue Mar 29 15:43:45 2011 +0000
+++ b/tests/lib/librumphijack/t_tcpip.sh        Tue Mar 29 16:03:32 2011 +0000
@@ -1,4 +1,4 @@
-#       $NetBSD: t_tcpip.sh,v 1.9 2011/03/29 15:43:45 jmmv Exp $
+#       $NetBSD: t_tcpip.sh,v 1.10 2011/03/29 16:03:32 jmmv Exp $
 #
 # Copyright (c) 2011 The NetBSD Foundation, Inc.
 # All rights reserved.
@@ -59,12 +59,12 @@
 
 http_cleanup()
 {
-       rump.halt
-
        if [ -f httpd.pid ]; then
                kill -9 "$(cat httpd.pid)"
                rm -f httpd.pid
        fi
+
+       rump.halt
 }
 
 #



Home | Main Index | Thread Index | Old Index