Source-Changes-HG archive

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

[src/trunk]: src/tests/net/ndp Let rtadvd not use syslog for logging



details:   https://anonhg.NetBSD.org/src/rev/5a6742062e07
branches:  trunk
changeset: 827655:5a6742062e07
user:      ozaki-r <ozaki-r%NetBSD.org@localhost>
date:      Tue Nov 07 02:19:23 2017 +0000

description:
Let rtadvd not use syslog for logging

Thanks to christos@ now rtadvd can log via stderr instead of syslog
by -D option.

Address PR bin/52701

diffstat:

 tests/net/ndp/t_ra.sh |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (19 lines):

diff -r 5078431b4eea -r 5a6742062e07 tests/net/ndp/t_ra.sh
--- a/tests/net/ndp/t_ra.sh     Tue Nov 07 01:15:42 2017 +0000
+++ b/tests/net/ndp/t_ra.sh     Tue Nov 07 02:19:23 2017 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: t_ra.sh,v 1.30 2017/11/06 10:51:40 ozaki-r Exp $
+#      $NetBSD: t_ra.sh,v 1.31 2017/11/07 02:19:23 ozaki-r Exp $
 #
 # Copyright (c) 2015 Internet Initiative Japan Inc.
 # All rights reserved.
@@ -151,7 +151,8 @@
        local pidfile=$2
 
        export RUMP_SERVER=$sock
-       atf_check -s exit:0 rump.rtadvd -c ${CONFIG} -p $pidfile shmif0
+       atf_check -s exit:0 -e ignore \
+           rump.rtadvd -D -c ${CONFIG} -p $pidfile shmif0
        while [ ! -f $pidfile ]; do
                sleep 0.2
        done



Home | Main Index | Thread Index | Old Index