From patchwork Mon Jan 26 15:11:16 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gert Doering X-Patchwork-Id: 4735 Return-Path: Delivered-To: patchwork@openvpn.net Received: by 2002:a05:7000:8468:b0:80a:3855:ce6a with SMTP id u8csp1395491max; Mon, 26 Jan 2026 07:11:35 -0800 (PST) X-Forwarded-Encrypted: i=2; AJvYcCUFQuTT7GcO+TgvBvg/PIXKc+TW5ya+v5XyqripYiT4i9ybEDpvbHAoDNZIj93Y7ThQs8aqWFZ/OSo=@openvpn.net X-Received: by 2002:a05:6820:206:b0:662:b5e0:e6d1 with SMTP id 006d021491bc7-662e02d022cmr1951756eaf.16.1769440295451; Mon, 26 Jan 2026 07:11:35 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1769440295; cv=none; d=google.com; s=arc-20240605; b=SMuo+ZWOkhTOQE5IE7zJi4Kriaeq6olhr96zfTO6lfTnG2NvLk4Mb3iszyT9ZghJCT DpLyusdweTfA76G86kIIDLiMynvgGgN94ji2A+hFPMyAJgWKLaT3TQea5Uw/Mr4bq/hq xaIipcDFUb1THvBlCj4ogVOzOhWCV5OxspjbgGltfEX/C5DCWKXTFWDTtde+Oh1/DWTd 92I8suYKPPD44JSwjlEo5Jtqg7GimEbCf8zedMMwUL5TCh6FvZZ8Kcc3DaFHdTJtBpH7 W489FbqqaQjay1huUrbLY1Wisi97IVM8ek3asuU3ocIZ8w2F6A+WSmUBvwjWg3N405rm Bing== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=errors-to:content-transfer-encoding:list-subscribe:list-help :list-post:list-archive:list-unsubscribe:list-id:precedence:subject :mime-version:references:in-reply-to:message-id:date:to:from :dkim-signature:dkim-signature:dkim-signature; bh=RreIoeeCoHrQDhLyHReaI9k2OpzNeSGgjRnk0QX2zI0=; fh=4NbAC/LsuMLI0S0hprUlLSLCiHwg6SCAifhH718Jh0Q=; b=gyhbdDhwSJecGaHo/nFmYOYpCTyecvxVtq2BK7FpBiaEp+9CK0z85jUMD3TFG44tH6 QYZfDcYle8LFVGv1nTgVbvLGAOcze+UJbXtA8bbLEx1bRROLbLjWCOz/msfVN8n67e4d GNd81xiYvTNjsDUGI9DY7TVvymg+ZrvaY11ouofZ7DNgUtr8nzOr2N3l1zLegFs3shmu afWDnLX0gNev6BhshWNue+aNojEoeqknAB3plUFdXPrJYSCZYbK3bsx49QSS2VN6tgZW LlVKXVDxXAR6+XbuQgxxlQ+m6sefgBhDSAOL2wEuoyY1jYjUH658dQMQlvKYs8xYJy1u BBuA==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@lists.sourceforge.net header.s=beta header.b=cGN+c4nJ; dkim=neutral (body hash did not verify) header.i=@sourceforge.net header.s=x header.b=hGIHUYiZ; dkim=neutral (body hash did not verify) header.i=@sf.net header.s=x header.b=Nm4Kdvzu; spf=pass (google.com: domain of openvpn-devel-bounces@lists.sourceforge.net designates 216.105.38.7 as permitted sender) smtp.mailfrom=openvpn-devel-bounces@lists.sourceforge.net; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=muc.de Received: from lists.sourceforge.net (lists.sourceforge.net. [216.105.38.7]) by mx.google.com with ESMTPS id 006d021491bc7-662cb4efebbsi6026434eaf.14.2026.01.26.07.11.35 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Mon, 26 Jan 2026 07:11:35 -0800 (PST) Received-SPF: pass (google.com: domain of openvpn-devel-bounces@lists.sourceforge.net designates 216.105.38.7 as permitted sender) client-ip=216.105.38.7; Authentication-Results: mx.google.com; dkim=pass header.i=@lists.sourceforge.net header.s=beta header.b=cGN+c4nJ; dkim=neutral (body hash did not verify) header.i=@sourceforge.net header.s=x header.b=hGIHUYiZ; dkim=neutral (body hash did not verify) header.i=@sf.net header.s=x header.b=Nm4Kdvzu; spf=pass (google.com: domain of openvpn-devel-bounces@lists.sourceforge.net designates 216.105.38.7 as permitted sender) smtp.mailfrom=openvpn-devel-bounces@lists.sourceforge.net; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=muc.de DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.sourceforge.net; s=beta; h=Content-Transfer-Encoding:Content-Type: List-Subscribe:List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id: Subject:MIME-Version:References:In-Reply-To:Message-ID:Date:To:From:Sender: Reply-To:Cc:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=RreIoeeCoHrQDhLyHReaI9k2OpzNeSGgjRnk0QX2zI0=; b=cGN+c4nJk0G3NC5iHgHBbw9bAQ jAIsvzVDSHQVteARwKGZxnjpSytx9kRBT/bTlj1HGtnk4XbDmG0oCsEauRVmgagdo1aXBFUHzsIpa RX3ObidXNHqdB0KBGOR9dBdO4xd+3/hDgfATs5FL9AfcWQqt2MAzG3Fs3A9u9DKmrf8s=; Received: from [127.0.0.1] (helo=sfs-ml-3.v29.lw.sourceforge.com) by sfs-ml-3.v29.lw.sourceforge.com with esmtp (Exim 4.95) (envelope-from ) id 1vkOFY-00005F-Ga; Mon, 26 Jan 2026 15:11:32 +0000 Received: from [172.30.29.66] (helo=mx.sourceforge.net) by sfs-ml-3.v29.lw.sourceforge.com with esmtps (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.95) (envelope-from ) id 1vkOFW-000055-QY for openvpn-devel@lists.sourceforge.net; Mon, 26 Jan 2026 15:11:30 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sourceforge.net; s=x; h=Content-Transfer-Encoding:MIME-Version:References: In-Reply-To:Message-ID:Date:Subject:To:From:Sender:Reply-To:Cc:Content-Type: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=AMf3im1zaOqylpeNwU/opNMZC4UVM0LhWCfOafaA/2k=; b=hGIHUYiZXgCWfEdb1aOCUqRX5s EGenunPsoVNmLxBVGzi2uovN8wYl5DSvUp7xObKe7P4Fo+lnawPTQ6n3NqMpyIsYd9ca/MwEbtHI7 oqfDipytYn66Qn4VwKoiXcOX4DLlCDOllbbunP8iHkrxk29kPKHqJ+AnoIGHGrMYfimE=; DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sf.net; s=x ; h=Content-Transfer-Encoding:MIME-Version:References:In-Reply-To:Message-ID: Date:Subject:To:From:Sender:Reply-To:Cc:Content-Type:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=AMf3im1zaOqylpeNwU/opNMZC4UVM0LhWCfOafaA/2k=; b=Nm4KdvzuAT3+4UtffpV1S5FhPm IjDJkM3r8UaKVmhytsXLd47S+pyvXkJz1b58PVPfqe6dlP15GydIPS33KyuKp//TpnWZKIN+QrdZr q4PzsHQImzS+SyFNMyhDLGvbBCHWv/owvnByMnpSyzVoOnAUOg1ac6XQecgpoq7xyQVk=; Received: from [193.149.48.134] (helo=blue.greenie.muc.de) by sfi-mx-2.v28.lw.sourceforge.com with esmtps (TLS1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.95) id 1vkOFV-0002Mz-7p for openvpn-devel@lists.sourceforge.net; Mon, 26 Jan 2026 15:11:30 +0000 Received: from blue.greenie.muc.de (localhost [127.0.0.1]) by blue.greenie.muc.de (8.18.1/8.18.1) with ESMTP id 60QFBMII000603 for ; Mon, 26 Jan 2026 16:11:22 +0100 Received: (from gert@localhost) by blue.greenie.muc.de (8.18.1/8.18.1/Submit) id 60QFBMaP000602 for openvpn-devel@lists.sourceforge.net; Mon, 26 Jan 2026 16:11:22 +0100 From: Gert Doering To: openvpn-devel@lists.sourceforge.net Date: Mon, 26 Jan 2026 16:11:16 +0100 Message-ID: <20260126151122.588-1-gert@greenie.muc.de> X-Mailer: git-send-email 2.51.2 In-Reply-To: References: MIME-Version: 1.0 X-Spam-Score: 1.3 (+) X-Spam-Report: Spam detection software, running on the system "sfi-spamd-2.hosts.colo.sdot.me", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: From: Frank Lichtenheld Should have been added in commit b10ee38ccde5f155d02fcd3e8f1b1ab454826ab0. Note that test_openvpnserv.exe lives in a separate directory, so we need to make the code a bit more flexible. Content analysis details: (1.3 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 1.3 RDNS_NONE Delivered to internal network by a host with no rDNS X-Headers-End: 1vkOFV-0002Mz-7p Subject: [Openvpn-devel] [PATCH v2] GHA: Run openvpnserv UT for MinGW builds X-BeenThere: openvpn-devel@lists.sourceforge.net X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: openvpn-devel-bounces@lists.sourceforge.net X-getmail-retrieved-from-mailbox: Inbox X-GMAIL-THRID: =?utf-8?q?1855392627746210249?= X-GMAIL-MSGID: =?utf-8?q?1855392627746210249?= From: Frank Lichtenheld Should have been added in commit b10ee38ccde5f155d02fcd3e8f1b1ab454826ab0. Note that test_openvpnserv.exe lives in a separate directory, so we need to make the code a bit more flexible. Change-Id: If61a91b4580864fd22162c94467ba3dda2045b7b Signed-off-by: Frank Lichtenheld Acked-by: Gert Doering Gerrit URL: https://gerrit.openvpn.net/c/openvpn/+/1487 --- This change was reviewed on Gerrit and approved by at least one developer. I request to merge it to master. Gerrit URL: https://gerrit.openvpn.net/c/openvpn/+/1487 This mail reflects revision 2 of this Change. Acked-by according to Gerrit (reflected above): Gert Doering diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index ef9b3f5..5f5d624 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -100,13 +100,13 @@ path: | ${{ github.workspace }}/out/build/mingw/${{ matrix.arch }}/**/${{ matrix.build }}/*.exe ${{ github.workspace }}/out/build/mingw/${{ matrix.arch }}/**/${{ matrix.build }}/*.dll - !${{ github.workspace }}/out/build/mingw/${{ matrix.arch }}/${{ matrix.build }}/test_*.exe + !${{ github.workspace }}/out/build/mingw/${{ matrix.arch }}/**/${{ matrix.build }}/test_*.exe - uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0 with: name: openvpn-mingw-${{ matrix.arch }}-${{ matrix.build }}-tests path: | - ${{ github.workspace }}/out/build/mingw/${{ matrix.arch }}/${{ matrix.build }}/test_*.exe + ${{ github.workspace }}/out/build/mingw/${{ matrix.arch }}/**/${{ matrix.build }}/test_*.exe ${{ github.workspace }}/out/build/mingw/${{ matrix.arch }}/${{ matrix.build }}/*.dll mingw-unittest: @@ -115,7 +115,7 @@ fail-fast: false matrix: arch: [x86, x64] - test: [argv, auth_token, buffer, cryptoapi, crypto, misc, options_parse, ncp, packet_id, pkt, provider, ssl, tls_crypt, user_pass] + test: [argv, auth_token, buffer, cryptoapi, crypto, misc, options_parse, ncp, openvpnserv, packet_id, pkt, provider, ssl, tls_crypt, user_pass] build: [Release, Debug] runs-on: windows-2025 @@ -129,7 +129,9 @@ name: openvpn-mingw-${{ matrix.arch }}-${{ matrix.build }}-tests path: unittests - name: Run ${{ matrix.test }} unit test - run: ./unittests/test_${{ matrix.test }}.exe + run: | + $test_file=(Get-ChildItem -Path unittests -Filter test_${{ matrix.test }}.exe -Recurse).fullname + & $test_file env: srcdir: "${{ github.workspace }}/tests/unit_tests/openvpn"