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/f1da81c0c99b
branches:  trunk
changeset: 961856:f1da81c0c99b
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 f528d4fc0638 -r f1da81c0c99b 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