Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1tiG4e-00DZDi-1A for pgsql-hackers@arkaria.postgresql.org; Wed, 12 Feb 2025 16:58:56 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1tiG4c-00Azdd-1f for pgsql-hackers@arkaria.postgresql.org; Wed, 12 Feb 2025 16:58:54 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1tiG4b-00AzdV-4o for pgsql-hackers@lists.postgresql.org; Wed, 12 Feb 2025 16:58:54 +0000 Received: from fout-b7-smtp.messagingengine.com ([202.12.124.150]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1tiG4Z-000RcP-2O for pgsql-hackers@lists.postgresql.org; Wed, 12 Feb 2025 16:58:52 +0000 Received: from phl-compute-03.internal (phl-compute-03.phl.internal [10.202.2.43]) by mailfout.stl.internal (Postfix) with ESMTP id 3CFF21140138; Wed, 12 Feb 2025 11:58:50 -0500 (EST) Received: from phl-mailfrontend-01 ([10.202.2.162]) by phl-compute-03.internal (MEProxy); Wed, 12 Feb 2025 11:58:50 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ilmari.org; h=cc :cc:content-transfer-encoding:content-type:content-type:date :date:from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to; s=fm2; t=1739379530; x=1739465930; bh=q9WvkmB198X6FvBNx+C6bA6RPlHxiMugYjMlMrBPJCk=; b= YQci391zRAlJBEiUmFH2v1bJKL5Xr57ohIw2skJQjos7Ge3SvOO7QxsuEDAtgA8B UsNOs/joxGOp/G4GiyubJHspzbr9UM3a08bJOo8KT8O7/Zm4dGtPrwp1SXg1PEiq 8oUymLrJS48qHxbfyGQuecQBBYpR0OjlnJzRNkYBiiDLAWsAWCd/dgXnOadG5qCP mOlsKxbU2dZJ8zZI7KsORD/HTLsanlv4HgSBf6xnVuYH+Jkwv8m7cQwj0dlhj5mI 4uonYiNlfu5PvuAsfOJOVbEisOHKkO0xLLJV+yst3blsB03n8q2+jKeBowlTlJEt cWVud8M2rQ6SKdEjcWklzg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:content-type:date:date:feedback-id:feedback-id :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm3; t=1739379530; x= 1739465930; bh=q9WvkmB198X6FvBNx+C6bA6RPlHxiMugYjMlMrBPJCk=; b=W FzgCbr1EeqUWiNWkP1TBgBklTc5X3qXcmzU4jW7YkNs/RgeFSwdyZitfgNMhS+s5 qD3EzbjGW877mndoDSXQuyDaMVsEGdOpF6DreqmZb9hyniCUkfSdeqe94f84yVQh RYJ0jVEWVHclJrXvVgBZRC63zlsuu4eQFOlwPZLYtbQXjSACMuEo876nKUuxUrpt bmftGCmuD+YS/l2RpECKlKbdnSjNlmkXu+ocgVs3eMXUhmdnXTlIq4wkiCA9CP9w eDnOg55xwQ1OW/e9lY574p4iaBQ6Yy/hmeTG+EWjrF5HOEtAb3j4VslY4/w9YdIe I0ogGmEclB6v5pgYNA0cg== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeefvddrtddtgdeggeegvdcutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpggftfghnshhusghstghrihgsvgdp uffrtefokffrpgfnqfghnecuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivg hnthhsucdlqddutddtmdenucfjughrpefhvfevufhfffgjkfgfgggtgfesthekredttder jeenucfhrhhomhepffgrghhfihhnnhcukfhlmhgrrhhiucforghnnhhsnohkvghruceoih hlmhgrrhhisehilhhmrghrihdrohhrgheqnecuggftrfgrthhtvghrnhepgeekffegueeg feevfeegkeektdfgledvteeutdfftdeiudefgfejleeitefhgfefnecuffhomhgrihhnpe hpvghrlhdrohhrghenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhl fhhrohhmpehilhhmrghrihesihhlmhgrrhhirdhorhhgpdhnsggprhgtphhtthhopeegpd hmohguvgepshhmthhpohhuthdprhgtphhtthhopehpghhsqhhlqdhhrggtkhgvrhhssehl ihhsthhsrdhpohhsthhgrhgvshhqlhdrohhrghdprhgtphhtthhopehsmhhithhhphgsvd dvhedtsehgmhgrihhlrdgtohhmpdhrtghpthhtoheprghshhhuthhoshhhrdgsrghprght rdhoshhssehgmhgrihhlrdgtohhmpdhrtghpthhtoheprghnughrvgifseguuhhnshhlrg hnvgdrnhgvth X-ME-Proxy: Feedback-ID: i1ff147bf:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Wed, 12 Feb 2025 11:58:49 -0500 (EST) From: =?utf-8?Q?Dagfinn_Ilmari_Manns=C3=A5ker?= To: Andrew Dunstan Cc: Ashutosh Bapat , Peter Smith , PostgreSQL Hackers Subject: Re: TAP test command_fails versus command_fails_like References: <87h64z2rk7.fsf@wibble.ilmari.org> <419ce961-fda6-4b24-b5c2-fde414065c70@dunslane.net> Date: Wed, 12 Feb 2025 16:58:47 +0000 In-Reply-To: <419ce961-fda6-4b24-b5c2-fde414065c70@dunslane.net> (Andrew Dunstan's message of "Wed, 12 Feb 2025 10:40:25 -0500") Message-ID: <87ed032j7c.fsf@wibble.ilmari.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Andrew Dunstan writes: > On 2025-02-12 We 8:58 AM, Dagfinn Ilmari Mannsåker wrote: >> >>> Another question is whether command_fails and command_fails_like is >>> the only pair or there are more which need stricter checks? >> If we do this, we should do it across the board for >> PostgreSQL::Test::Utils and ::Cluster at least. Once we bump the >> minimum perl version to 5.20 or beyond we should switch to using >> function signatures (https://perldoc.perl.org/perlsub#Signatures), which >> gives us this checking for free. > > Is there any reason we can't move to 5.20? Are there any buildfarm > animals using such an old version? 5.20 is now almost 10 years old. Red Hat Enterprise Linux 7 has Perl 5.16 and is on Extended Lifecycle Support until 2028-06-30. I don't know how long other distros based on that (e.g. CentOS, Scientific Linux) are supported, but I can see that Amazon Linux 2 is almost out of support (2025-06-30). > cheers > > andrew - ilmari