summaryrefslogtreecommitdiff
path: root/tests/net
diff options
context:
space:
mode:
authoryamaguchi <yamaguchi@NetBSD.org>2021-04-23 03:40:05 +0000
committeryamaguchi <yamaguchi@NetBSD.org>2021-04-23 03:40:05 +0000
commit261a290882d534701c77cd50a71b65902ebc08c7 (patch)
tree598c1bbda693b2cdf168b0137e75efc051611d9e /tests/net
parent0c160012fb2a032c441b6eeb6b1bcab3374e5f79 (diff)
Make IFF_DEBUG enabled if $DEBUG is true
Diffstat (limited to 'tests/net')
-rw-r--r--tests/net/if_pppoe/t_pppoe.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/net/if_pppoe/t_pppoe.sh b/tests/net/if_pppoe/t_pppoe.sh
index f97d78dc657..0dfd6234124 100644
--- a/tests/net/if_pppoe/t_pppoe.sh
+++ b/tests/net/if_pppoe/t_pppoe.sh
@@ -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 @@ setup_ifaces()
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 @@ setup_ifaces()
$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