Development discussion of WireGuard
 help / color / mirror / Atom feed
* [PATCH] tunnel: fixed BadConfigExceptionTest
@ 2022-02-09 10:57 Michal Murin
  2022-02-09 11:02 ` Jason A. Donenfeld
  0 siblings, 1 reply; 2+ messages in thread
From: Michal Murin @ 2022-02-09 10:57 UTC (permalink / raw)
  To: wireguard; +Cc: Michal Murin

Fixed the test by changing the DNS to a string with an invalid char in the `invalid-value.conf` test configuration file.

Signed-off-by: Michal Murin <michal.murin@jamf.com>
---
 tunnel/src/test/resources/invalid-value.conf | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tunnel/src/test/resources/invalid-value.conf b/tunnel/src/test/resources/invalid-value.conf
index 2889111..6a1e3b6 100644
--- a/tunnel/src/test/resources/invalid-value.conf
+++ b/tunnel/src/test/resources/invalid-value.conf
@@ -1,6 +1,6 @@
 [Interface]
 Address = 192.0.2.2/32,2001:db8:ffff:ffff:ffff:ffff:ffff:ffff/128
-DNS = 192.0.2.0,yes
+DNS = 192.0.2.0,invalid_value
 PrivateKey = TFlmmEUC7V7VtiDYLKsbP5rySTKLIZq1yn8lMqK83wo=
 [Peer]
 AllowedIPs = 0.0.0.0/0, ::0/0
-- 
2.30.1 (Apple Git-130)


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] tunnel: fixed BadConfigExceptionTest
  2022-02-09 10:57 [PATCH] tunnel: fixed BadConfigExceptionTest Michal Murin
@ 2022-02-09 11:02 ` Jason A. Donenfeld
  0 siblings, 0 replies; 2+ messages in thread
From: Jason A. Donenfeld @ 2022-02-09 11:02 UTC (permalink / raw)
  To: Michal Murin; +Cc: WireGuard mailing list

Applied, thanks.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-02-09 11:09 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-02-09 10:57 [PATCH] tunnel: fixed BadConfigExceptionTest Michal Murin
2022-02-09 11:02 ` Jason A. Donenfeld

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).