Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/tests/net/if_wg Use wgconfig as intended to show diagnostics...
details: https://anonhg.NetBSD.org/src/rev/f4105551f33c
branches: trunk
changeset: 943114:f4105551f33c
user: riastradh <riastradh%NetBSD.org@localhost>
date: Thu Aug 27 02:51:49 2020 +0000
description:
Use wgconfig as intended to show diagnostics, not a usage message.
diffstat:
tests/net/if_wg/t_misc.sh | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 7c90fd39c602 -r f4105551f33c tests/net/if_wg/t_misc.sh
--- a/tests/net/if_wg/t_misc.sh Thu Aug 27 02:51:15 2020 +0000
+++ b/tests/net/if_wg/t_misc.sh Thu Aug 27 02:51:49 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: t_misc.sh,v 1.1 2020/08/26 16:03:42 riastradh Exp $
+# $NetBSD: t_misc.sh,v 1.2 2020/08/27 02:51:49 riastradh Exp $
#
# Copyright (c) 2018 Ryota Ozaki <ozaki.ryota%gmail.com@localhost>
# All rights reserved.
@@ -277,7 +277,7 @@
-o match:"$ip_peer.$port > $ip_local.$port: UDP, length 64" \
cat $outfile
- $DEBUG && $HIJACKING wgconfig wg0 show
+ $DEBUG && $HIJACKING wgconfig wg0 show all
atf_check -s exit:0 -o match:"latest-handshake: 0" \
$HIJACKING wgconfig wg0
@@ -288,7 +288,7 @@
# a valid cookie.
$ping $ip_wg_peer
- $DEBUG && $HIJACKING wgconfig wg0 show
+ $DEBUG && $HIJACKING wgconfig wg0 show all
atf_check -s exit:0 -o not-match:"latest-handshake: 0" \
$HIJACKING wgconfig wg0
Home |
Main Index |
Thread Index |
Old Index