From: Michal Murin <michal.murin@jamf.com>
To: wireguard@lists.zx2c4.com
Cc: Michal Murin <michal.murin@jamf.com>
Subject: [PATCH] tunnel: fixed BadConfigExceptionTest
Date: Wed, 9 Feb 2022 11:57:58 +0100 [thread overview]
Message-ID: <20220209105758.22038-1-michal.murin@jamf.com> (raw)
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)
next reply other threads:[~2022-02-09 10:59 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-02-09 10:57 Michal Murin [this message]
2022-02-09 11:02 ` Jason A. Donenfeld
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20220209105758.22038-1-michal.murin@jamf.com \
--to=michal.murin@jamf.com \
--cc=wireguard@lists.zx2c4.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).