From patchwork Thu Jan 25 11:01:22 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Frank Lichtenheld X-Patchwork-Id: 3592 Return-Path: Delivered-To: patchwork@openvpn.net Received: by 2002:a05:7301:3b94:b0:101:b91e:57cc with SMTP id kh20csp1603079dyb; Thu, 25 Jan 2024 03:02:03 -0800 (PST) X-Google-Smtp-Source: AGHT+IF+EyypdrAv2QeS+OtsWIrM81yeqbDhVsHB4yfDDYJXHaWk71AscrO7w3lUjSNWXWUkstb9 X-Received: by 2002:a17:902:d3cd:b0:1d7:739f:f8f7 with SMTP id w13-20020a170902d3cd00b001d7739ff8f7mr1461903plb.5.1706180523013; Thu, 25 Jan 2024 03:02:03 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1706180523; cv=none; d=google.com; s=arc-20160816; b=bNrlxHJ4AhbHE3YY5tZXnZDJvIKZgbujd2mRbL9O8rSmxQM6UxQJQqvSAgvpBv/dHK w5OjEI2GWsI9vtrKB+VdogEfDcmo4LDtC2uLpGraPCRLbScR1dpLruEdBt7lfZ4cjZwZ dLJsg09CjSLspXm/Z1CcAZiXBYXQVnyyFc3myPMRC+Pt2/XDYCiufyPR9f5jURoOFjzB 3xbPV1oVLi45YkEef6xwv+ufNR0gOcwTrbFtzA+Qfd/S+bxCjI73hwU0SDGNbkGbXV7p O9pUArI356wBSmJVHlTmQnySF77Ji0aoKeeXI7yFSL7gYK+cl2zVXfkYipQJo3MjMzgL 9gLg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:content-transfer-encoding:cc: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=g9Khze56p4pMK1SjqgAKH0cuVwZqYPpRPDMG8fG/YTA=; fh=CfxSpwd5kfiMJoL3kcov7PTxVKT7pGe/79idnx9XlBs=; b=ZyaaNTYFq/g8v86pH9lHKluaYoNbJGTRo1lL3wVOKyilh60lB476kQ+wc7yH8YuIkN eoslmRmPH6U1D1O96jov4n/ua1i86O7L3tKH3eYrpaXSgZ6JmO7znyZNbl+Lt8jYGria RbqIalF5SOnq8Yd0ilm/7KPDnYwTPBJdOcLfcN0oxMOO237wp91TS9UmUf71QfxTibIx cMumQsSYVytvaTmFRI6JL75TcVAKdPVmr19qKe6GY43bXgAu52wjWf7q0J3mmkXKw3Mv YsvSdZOTkZa9ju3VBt91BUbCsO4LjGWsA4zSQyvV1+ihL6Pke2FcYasMhY81UeS5OHVt PZHQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@sourceforge.net header.s=x header.b=B21pOFAi; dkim=neutral (body hash did not verify) header.i=@sf.net header.s=x header.b=KCW+sf51; dkim=neutral (body hash did not verify) header.i=@lichtenheld.com header.s=MBO0001 header.b=GJr8LlHQ; 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 Received: from lists.sourceforge.net (lists.sourceforge.net. [216.105.38.7]) by mx.google.com with ESMTPS id l12-20020a170903120c00b001d46a313b41si13764171plh.353.2024.01.25.03.02.02 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Thu, 25 Jan 2024 03:02:02 -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=neutral (body hash did not verify) header.i=@sourceforge.net header.s=x header.b=B21pOFAi; dkim=neutral (body hash did not verify) header.i=@sf.net header.s=x header.b=KCW+sf51; dkim=neutral (body hash did not verify) header.i=@lichtenheld.com header.s=MBO0001 header.b=GJr8LlHQ; 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 Received: from [127.0.0.1] (helo=sfs-ml-2.v29.lw.sourceforge.com) by sfs-ml-2.v29.lw.sourceforge.com with esmtp (Exim 4.95) (envelope-from ) id 1rSxUG-0007Nc-JX; Thu, 25 Jan 2024 11:01:37 +0000 Received: from [172.30.20.202] (helo=mx.sourceforge.net) by sfs-ml-2.v29.lw.sourceforge.com with esmtps (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.95) (envelope-from ) id 1rSxUF-0007NV-55 for openvpn-devel@lists.sourceforge.net; Thu, 25 Jan 2024 11:01:35 +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:Cc:To:From:Sender:Reply-To: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=WeScEaaSGM0R9FV7HeE6t432t+03/clJGQq+ZBCJctA=; b=B21pOFAiBz+aAbMNBN10Wt2ZD+ 9RK4fwA5RPNAsyUb5rai9m1EwdIQKkG4ANa4RcEf0QE6liUZtCJu8hY+zB/ZjT3peK3/gwzHFR2Oq KDt8e0/AiQEqmQGLBmXimAVdvSCwdb9lPf2xKR6ARf4xKXZly5cBBm49NkhPPjkLYDVo=; 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:Cc:To:From:Sender:Reply-To: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=WeScEaaSGM0R9FV7HeE6t432t+03/clJGQq+ZBCJctA=; b=KCW+sf518WuWNyfQSeF4UOqcQe vkIhFE6Ip6e7+Ug5/b/SsPZ9ekc7JACusSI9BpYJjcSSsR9A2/2MKMMak8Wvuk5LMK7MyrhUnAKgX N5DD40gdJ6uQq1kFN9lIwHaed9ePTfqYrz8g8Cmyf5BEoBYst0IJBK+K2so6n+ECPOu4=; Received: from mout-p-202.mailbox.org ([80.241.56.172]) by sfi-mx-2.v28.lw.sourceforge.com with esmtps (TLS1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.95) id 1rSxUB-0003xL-HR for openvpn-devel@lists.sourceforge.net; Thu, 25 Jan 2024 11:01:35 +0000 Received: from smtp102.mailbox.org (smtp102.mailbox.org [10.196.197.102]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mout-p-202.mailbox.org (Postfix) with ESMTPS id 4TLHv75mkxz9sr6; Thu, 25 Jan 2024 12:01:23 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=lichtenheld.com; s=MBO0001; t=1706180483; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=WeScEaaSGM0R9FV7HeE6t432t+03/clJGQq+ZBCJctA=; b=GJr8LlHQ4NhWjdNsbgUDkXWARfA7ZBhGmCOuska/mmcuZ8IS6twlGVU9iH22Q8N49NO5bo IOZe5TwJOTG9ZHBxlKE7Bgy92pkHSc3wVf9lpZ2IWIFhcT5/MVzViuiheMlhvN3Rjkhxxs YqLgtJuEj+sjPvMbNMfe0fAKMm5/2rGNfHSkfTO2wd1oxdoc/dFpXFcvGyyMWgP5vPaU6J lALbCkzSb29bqwc5LtXcvpaT5T4xhdRXpoe3GNCEALbI3DkxhDxyY6knBRL2VbDQZFSWiL GfHtJGqRvaIFacyj2MccYwy8d5PkJYH9+aumNyqJDNT+E23UyeeangRlZi2mgg== From: Frank Lichtenheld To: openvpn-devel@lists.sourceforge.net Date: Thu, 25 Jan 2024 12:01:22 +0100 Message-Id: <20240125110122.16257-1-frank@lichtenheld.com> In-Reply-To: References: MIME-Version: 1.0 X-Spam-Score: -0.9 (/) X-Spam-Report: Spam detection software, running on the system "util-spamd-2.v13.lw.sourceforge.com", 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: We want to see the progress, at least for slow tests like t_client.sh. Change-Id: I11e0091482d9acee89ca018374cb8d96d22f8514 Signed-off-by: Frank Lichtenheld Acked-by: Arne Schwabe --- Content analysis details: (-0.9 points, 6.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at https://www.dnswl.org/, low trust [80.241.56.172 listed in list.dnswl.org] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.0 SPF_PASS SPF: sender matches SPF record -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature -0.0 T_SCC_BODY_TEXT_LINE No description available. X-Headers-End: 1rSxUB-0003xL-HR Subject: [Openvpn-devel] [PATCH v7] forked-test-driver: Show test output always 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: , Cc: Arne Schwabe Errors-To: openvpn-devel-bounces@lists.sourceforge.net X-getmail-retrieved-from-mailbox: Inbox X-GMAIL-THRID: =?utf-8?q?1789059947799945504?= X-GMAIL-MSGID: =?utf-8?q?1789059947799945504?= We want to see the progress, at least for slow tests like t_client.sh. Change-Id: I11e0091482d9acee89ca018374cb8d96d22f8514 Signed-off-by: Frank Lichtenheld Acked-by: Arne Schwabe --- 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/+/479 This mail reflects revision 7 of this Change. Acked-by according to Gerrit (reflected above): Arne Schwabe diff --git a/forked-test-driver b/forked-test-driver index be73b80..6971dfb 100755 --- a/forked-test-driver +++ b/forked-test-driver @@ -108,9 +108,14 @@ # Test script is run here. We create the file first, then append to it, # to ameliorate tests themselves also writing to the log file. Our tests # don't, but others can (automake bug#35762). +# OVPN changes: +# - add tee to see output of tests +# - needs portable pipefail mechanism +estatusfile="${trs_file}.exit" : >"$log_file" -"$@" >>"$log_file" 2>&1 -estatus=$? +("$@" 2>&1; estatus=$?; echo $estatus >"$estatusfile") | tee -a "$log_file" +estatus=$(cat "$estatusfile") +rm -f "$estatusfile" if test $enable_hard_errors = no && test $estatus -eq 99; then tweaked_estatus=1