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 tests/net/if_wg: Allow one second of leeway ...
details: https://anonhg.NetBSD.org/src/rev/a0f91deea7e8
branches: trunk
changeset: 938062:a0f91deea7e8
user: riastradh <riastradh%NetBSD.org@localhost>
date: Mon Aug 31 20:32:58 2020 +0000
description:
tests/net/if_wg: Allow one second of leeway for rekey.
diffstat:
tests/net/if_wg/t_misc.sh | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (18 lines):
diff -r bef6b1442eb3 -r a0f91deea7e8 tests/net/if_wg/t_misc.sh
--- a/tests/net/if_wg/t_misc.sh Mon Aug 31 20:31:43 2020 +0000
+++ b/tests/net/if_wg/t_misc.sh Mon Aug 31 20:32:58 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: t_misc.sh,v 1.4 2020/08/29 07:22:49 tih Exp $
+# $NetBSD: t_misc.sh,v 1.5 2020/08/31 20:32:58 riastradh Exp $
#
# Copyright (c) 2018 Ryota Ozaki <ozaki.ryota%gmail.com@localhost>
# All rights reserved.
@@ -106,7 +106,7 @@
$DEBUG && echo $latest_handshake
# Wait for a reinitiation to be performed again
- sleep $rekey_after_time
+ sleep $((rekey_after_time+1))
$ping $ip_wg_peer
Home |
Main Index |
Thread Index |
Old Index