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 Update test case.
details: https://anonhg.NetBSD.org/src/rev/33ae746b8210
branches: trunk
changeset: 379456:33ae746b8210
user: yamaguchi <yamaguchi%NetBSD.org@localhost>
date: Tue Jun 01 05:18:33 2021 +0000
description:
Update test case.
The state of IPCP and IPv6CP is Closed when those are disabled.
diffstat:
tests/net/if_pppoe/t_pppoe.sh | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r c78a61ec0316 -r 33ae746b8210 tests/net/if_pppoe/t_pppoe.sh
--- a/tests/net/if_pppoe/t_pppoe.sh Tue Jun 01 05:16:46 2021 +0000
+++ b/tests/net/if_pppoe/t_pppoe.sh Tue Jun 01 05:18:33 2021 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: t_pppoe.sh,v 1.32 2021/05/13 03:37:58 yamaguchi Exp $
+# $NetBSD: t_pppoe.sh,v 1.33 2021/06/01 05:18:33 yamaguchi Exp $
#
# Copyright (c) 2016 Internet Initiative Japan Inc.
# All rights reserved.
@@ -743,7 +743,7 @@ pppoe_params_body()
atf_pppoectl pppoe0 noipv6cp
atf_ifconfig pppoe0 up
wait_for_opened "IPCP"
- atf_check -s exit:0 -o match:'IPv6CP state: initial' \
+ atf_check -s exit:0 -o match:'IPv6CP state: closed' \
-x "$HIJACKING pppoectl -dd pppoe0"
atf_ifconfig pppoe0 down
@@ -755,7 +755,7 @@ pppoe_params_body()
atf_pppoectl pppoe0 noipcp ipv6cp
atf_ifconfig pppoe0 up
wait_for_opened "IPv6CP"
- atf_check -s exit:0 -o match:'IPCP state: initial' \
+ atf_check -s exit:0 -o match:'IPCP state: closed' \
-x "$HIJACKING pppoectl -dd pppoe0"
}
Home |
Main Index |
Thread Index |
Old Index