Source-Changes-HG archive

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

[src/trunk]: src/tests/net/if_pppoe Make IFF_DEBUG enabled if $DEBUG is true



details:   https://anonhg.NetBSD.org/src/rev/40fca49edab6
branches:  trunk
changeset: 961497:40fca49edab6
user:      yamaguchi <yamaguchi%NetBSD.org@localhost>
date:      Fri Apr 23 03:40:05 2021 +0000

description:
Make IFF_DEBUG enabled if $DEBUG is true

diffstat:

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

diffs (25 lines):

diff -r e2bc176fa85a -r 40fca49edab6 tests/net/if_pppoe/t_pppoe.sh
--- a/tests/net/if_pppoe/t_pppoe.sh     Fri Apr 23 03:38:19 2021 +0000
+++ b/tests/net/if_pppoe/t_pppoe.sh     Fri Apr 23 03:40:05 2021 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: t_pppoe.sh,v 1.26 2021/04/23 03:38:19 yamaguchi Exp $
+#      $NetBSD: t_pppoe.sh,v 1.27 2021/04/23 03:40:05 yamaguchi Exp $
 #
 # Copyright (c) 2016 Internet Initiative Japan Inc.
 # All rights reserved.
@@ -88,6 +88,7 @@
            inet $SERVER_IP $CLIENT_IP down
        atf_ifconfig pppoe0 link0
 
+       $DEBUG && rump.ifconfig pppoe0 debug
        $DEBUG && rump.ifconfig
        $DEBUG && $HIJACKING pppoectl -d pppoe0
        unset RUMP_SERVER
@@ -98,6 +99,7 @@
        $inet && atf_ifconfig pppoe0 \
            inet 0.0.0.0 0.0.0.1 down
 
+       $DEBUG && rump.ifconfig pppoe0 debug
        $DEBUG && rump.ifconfig
        $DEBUG && $HIJACKING pppoectl -d pppoe0
        unset RUMP_SERVER



Home | Main Index | Thread Index | Old Index