From: "flichtenheld (Code Review)"
Date: Wed, 28 Feb 2024 13:36:12 +0000
In-Reply-To:
References:
Reply-To: frank@...2641..., arne-openvpn@...1227...,
openvpn-devel@lists.sourceforge.net, gert@...1296..., a@...2181...
Message-ID:
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
Content-Disposition: inline
Content-Type: multipart/alternative; boundary="hYuYWqpX5lM="; charset=UTF-8
Subject: [Openvpn-devel] [M] Change in openvpn[master]: t_client.sh: Allow
to skip tests
List-Id:
List-Unsubscribe: ,
List-Archive:
List-Post:
List-Help:
List-Subscribe: ,
Cc: cron2 , plaisthos , openvpn-devel
--hYuYWqpX5lM=
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Attention is currently required from: cron2, ordex, plaisthos.
flichtenheld has posted comments on this change. ( http://gerrit.openvpn.ne=
t/c/openvpn/+/521?usp=3Demail )
Change subject: t_client.sh: Allow to skip tests
......................................................................
Patch Set 2:
(4 comments)
File src/openvpn/error.h:
http://gerrit.openvpn.net/c/openvpn/+/521/comment/79ea4054_64ee021d :
PS2, Line 39: #endif
> I don't like this, for two reasons - we protect unistd. [=E2=80=A6]
Acknowledged
File tests/t_client.sh.in:
http://gerrit.openvpn.net/c/openvpn/+/521/comment/d9c095ee_2955765a :
PS2, Line 301: SKIP_
> Having an example would certainly help people setting this up for their f=
irst time.
Acknowledged
http://gerrit.openvpn.net/c/openvpn/+/521/comment/df742960_4d92cd9b :
PS2, Line 325: eval $test_check_skip || {
> while this certainly works, the `|| {` style is quite different from the =
very traditional `if/then/f [=E2=80=A6]
Acknowledged
File tests/unit_tests/openvpn/mock_msg.c:
http://gerrit.openvpn.net/c/openvpn/+/521/comment/91fc1e95_73420afd :
PS2, Line 94: endif
> Not sure I understand why we have cmocka specific . [=E2=80=A6]
Yes, in this PR it is now used in t_client context, which is not a unit tes=
t context
--
To view, visit http://gerrit.openvpn.net/c/openvpn/+/521?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: I13ea6752c8d102eabcc579e391828c05d5322899
Gerrit-Change-Number: 521
Gerrit-PatchSet: 2
Gerrit-Owner: flichtenheld
Gerrit-Reviewer: cron2
Gerrit-Reviewer: plaisthos
Gerrit-CC: openvpn-devel
Gerrit-CC: ordex
Gerrit-Attention: plaisthos
Gerrit-Attention: cron2
Gerrit-Attention: ordex
Gerrit-Comment-Date: Wed, 28 Feb 2024 13:36:12 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: cron2
Comment-In-Reply-To: flichtenheld
Comment-In-Reply-To: ordex
Gerrit-MessageType: comment
--hYuYWqpX5lM=
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Attention is currently required from: cron2, ordex, plaisthos.
View C=
hange
4 comments:
Acknowledged
Patch=
Set #2, Line 325: =
eval $test_check_skip || {
while this certainly w=
orks, the `|| {` style is quite different from the very traditional `if/the=
n/f [=E2=80=A6]
Acknowledged
File tests/unit_tests/openvpn/mock_msg.c:
Patch Set #2, Line 94: endif
Not sure=
I understand why we have cmocka specific . [=E2=80=A6]
Yes, in this PR it =
is now used in t_client context, which is not a unit test context
<=
/ul>
To view, visit change 521. To unsubscribe, or for help writing =
mail filters, visit settings=
.
Gerrit-Project: openvpn
Gerrit-Branch: master
Gerrit-Change-Id: I13ea6752c8d102eabcc579e3918=
28c05d5322899
Gerrit-Change-Number: 521
Gerrit-PatchSet: 2
Gerrit-Owner: flichtenheld <frank@...2723...=
.>
Gerrit-Reviewer: cron2 <gert@...1296...>=
Gerrit-Reviewer: plaisthos <arne-openvpn@...1186...=
.1227...>
Gerrit-CC: openvpn-devel <openvpn-devel@...1484...=
ts.sourceforge.net>
Gerrit-CC: ordex <a@...2181...>
Gerrit-Attention: plaisthos <arne-openvpn@...220...=
..1227...>
Gerrit-Attention: cron2 <gert@...1296...>=
;
Gerrit-Attention: ordex <a@...2181...> <=
/div>
Gerrit-Comment-Date: Wed, 28 Feb 2024 13:36:12=
+0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: cron2 <gert@...1296...=
>
Comment-In-Reply-To: flichtenheld <frank@...1186...=
.2641...>
Comment-In-Reply-To: ordex <a@...2181...>=
;
Gerrit-MessageType: comment
--hYuYWqpX5lM=--