From: "flichtenheld (Code Review)"
Date: Mon, 11 Dec 2023 16:25:12 +0000
In-Reply-To:
References:
Reply-To: frank@...2641..., arne-openvpn@...1227...,
openvpn-devel@lists.sourceforge.net
Message-ID: <11d0c70f0658b51a79d9a647109e6e243fd082e9-EmailReviewComments-HTML@...2715...>
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
Content-Disposition: inline
Content-Type: multipart/alternative; boundary="L8BE0ANXenw="; charset=UTF-8
Subject: [Openvpn-devel] [L] Change in openvpn[master]: Remove dead list
test code
List-Id:
List-Unsubscribe: ,
List-Archive:
List-Post:
List-Help:
List-Subscribe: ,
To: plaisthos
Cc: openvpn-devel
--L8BE0ANXenw=
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Attention is currently required from: plaisthos.
flichtenheld has posted comments on this change. ( http://gerrit.openvpn.ne=
t/c/openvpn/+/446?usp=3Demail )
Change subject: Remove dead list test code
......................................................................
Patch Set 2: Code-Review-1
(3 comments)
File tests/unit_tests/openvpn/test_misc.c:
http://gerrit.openvpn.net/c/openvpn/+/446/comment/06c0770f_7c7fbf6a :
PS2, Line 203: ASSERT(hash_add(hash, w->word, w, fa=
lse));
Should probably use the cmocka assert_true here?
http://gerrit.openvpn.net/c/openvpn/+/446/comment/57543554_99e77fac :
PS2, Line 261: ASSERT(count =3D=3D hash_n_elements(hash));
should use assert_int_equal
http://gerrit.openvpn.net/c/openvpn/+/446/comment/0a20d288_80ec1771 :
PS2, Line 268: hash_remove_by_value(nhash, (void *) i);
can we test that this was successful?
--
To view, visit http://gerrit.openvpn.net/c/openvpn/+/446?usp=3Demail
To unsubscribe, or for help writing mail filters, visit http://gerrit.openv=
pn.net/settings
Gerrit-Project: openvpn
Gerrit-Branch: master
Gerrit-Change-Id: I7511bc43cd6a0bcb89476f27d5822ab4a78d0d21
Gerrit-Change-Number: 446
Gerrit-PatchSet: 2
Gerrit-Owner: plaisthos
Gerrit-Reviewer: flichtenheld
Gerrit-CC: openvpn-devel
Gerrit-Attention: plaisthos
Gerrit-Comment-Date: Mon, 11 Dec 2023 16:25:12 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: Yes
Gerrit-MessageType: comment
--L8BE0ANXenw=
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Attention is currently required from: plaisthos.
Patch set 2:Code-Review -1=
Vi=
ew Change
3 comments:
Patch Set #2, Line 261: ASSERT(count =3D=
=3D hash_n_elements(hash));
should use assert_int_equal
Patch Se=
t #2, Line 268: =
hash_remove_by_value(nhash, (void *) i);
can we test that this was successfu=
l?
To view, visit change 446. To unsubscribe, or for h=
elp writing mail filters, visit settings.
<=
/div>
Gerrit-Project: openvpn
Gerrit-Branch: master
Gerrit-Change-Id: I7511bc43cd6a0bcb89476f27d58=
22ab4a78d0d21
Gerrit-Change-Number: 446
Gerrit-PatchSet: 2
Gerrit-Owner: plaisthos <arne-openvpn@...1711...=
27...>
Gerrit-Reviewer: flichtenheld <frank@...2716...=
1...>
Gerrit-CC: openvpn-devel <openvpn-devel@...1484...=
ts.sourceforge.net>
Gerrit-Attention: plaisthos <arne-openvpn@...220...=
..1227...>
Gerrit-Comment-Date: Mon, 11 Dec 2023 16:25:12=
+0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: Yes
Gerrit-MessageType: comment
--L8BE0ANXenw=--