Module Name: src Committed By: riastradh Date: Mon Aug 31 20:32:58 UTC 2020
Modified Files: src/tests/net/if_wg: t_misc.sh Log Message: tests/net/if_wg: Allow one second of leeway for rekey. To generate a diff of this commit: cvs rdiff -u -r1.4 -r1.5 src/tests/net/if_wg/t_misc.sh Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/tests/net/if_wg/t_misc.sh diff -u src/tests/net/if_wg/t_misc.sh:1.4 src/tests/net/if_wg/t_misc.sh:1.5 --- src/tests/net/if_wg/t_misc.sh:1.4 Sat Aug 29 07:22:49 2020 +++ src/tests/net/if_wg/t_misc.sh Mon Aug 31 20:32:58 2020 @@ -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.ry...@gmail.com> # All rights reserved. @@ -106,7 +106,7 @@ wg_rekey_body() $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