Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/tests/net/ndp Avoid using /var/run/rump.rtadvd.pid
details: https://anonhg.NetBSD.org/src/rev/5422fd9edae2
branches: trunk
changeset: 349614:5422fd9edae2
user: ozaki-r <ozaki-r%NetBSD.org@localhost>
date: Fri Dec 16 09:10:08 2016 +0000
description:
Avoid using /var/run/rump.rtadvd.pid
diffstat:
tests/net/ndp/t_ra.sh | 14 +++++++-------
1 files changed, 7 insertions(+), 7 deletions(-)
diffs (63 lines):
diff -r c60f8e8cad91 -r 5422fd9edae2 tests/net/ndp/t_ra.sh
--- a/tests/net/ndp/t_ra.sh Fri Dec 16 09:09:38 2016 +0000
+++ b/tests/net/ndp/t_ra.sh Fri Dec 16 09:10:08 2016 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: t_ra.sh,v 1.9 2016/12/16 03:49:45 ozaki-r Exp $
+# $NetBSD: t_ra.sh,v 1.10 2016/12/16 09:10:08 ozaki-r Exp $
#
# Copyright (c) 2015 Internet Initiative Japan Inc.
# All rights reserved.
@@ -29,7 +29,7 @@
RUMPCLI=unix://r2
IP6SRV=fc00:1::1
IP6CLI=fc00:2::2
-PIDFILE=/var/run/rump.rtadvd.pid
+PIDFILE=./rump.rtadvd.pid
CONFIG=./rtadvd.conf
DEBUG=${DEBUG:-true}
@@ -112,7 +112,7 @@
create_rtadvdconfig
export RUMP_SERVER=${RUMPSRV}
- atf_check -s exit:0 rump.rtadvd -c ${CONFIG} shmif0
+ atf_check -s exit:0 rump.rtadvd -c ${CONFIG} -p ${PIDFILE} shmif0
atf_check -s exit:0 sleep 3
atf_check -s exit:0 -o ignore -e empty cat ${PIDFILE}
unset RUMP_SERVER
@@ -134,7 +134,7 @@
unset RUMP_SERVER
export RUMP_SERVER=${RUMPSRV}
- atf_check -s exit:0 rump.rtadvd -c ${CONFIG} shmif0
+ atf_check -s exit:0 rump.rtadvd -c ${CONFIG} -p ${PIDFILE} shmif0
atf_check -s exit:0 sleep 3
atf_check -s exit:0 -o ignore -e empty cat ${PIDFILE}
unset RUMP_SERVER
@@ -199,7 +199,7 @@
unset RUMP_SERVER
export RUMP_SERVER=${RUMPSRV}
- atf_check -s exit:0 rump.rtadvd -c ${CONFIG} shmif0
+ atf_check -s exit:0 rump.rtadvd -c ${CONFIG} -p ${PIDFILE} shmif0
atf_check -s exit:0 sleep 3
atf_check -s exit:0 -o ignore -e empty cat ${PIDFILE}
unset RUMP_SERVER
@@ -270,7 +270,7 @@
unset RUMP_SERVER
export RUMP_SERVER=${RUMPSRV}
- atf_check -s exit:0 rump.rtadvd -c ${CONFIG} shmif0
+ atf_check -s exit:0 rump.rtadvd -c ${CONFIG} -p ${PIDFILE} shmif0
atf_check -s exit:0 sleep 3
atf_check -s exit:0 -o ignore -e empty cat ${PIDFILE}
unset RUMP_SERVER
@@ -341,7 +341,7 @@
unset RUMP_SERVER
export RUMP_SERVER=${RUMPSRV}
- atf_check -s exit:0 rump.rtadvd -c ${CONFIG} shmif0
+ atf_check -s exit:0 rump.rtadvd -c ${CONFIG} -p ${PIDFILE} shmif0
atf_check -s exit:0 sleep 3
atf_check -s exit:0 -o ignore -e empty cat ${PIDFILE}
unset RUMP_SERVER
Home |
Main Index |
Thread Index |
Old Index