Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1io67l-0006mF-T8 for pgsql-hackers@arkaria.postgresql.org; Sun, 05 Jan 2020 13:39:22 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1io67k-0005pY-NA for pgsql-hackers@arkaria.postgresql.org; Sun, 05 Jan 2020 13:39:20 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1io67k-0005pR-AS for pgsql-hackers@lists.postgresql.org; Sun, 05 Jan 2020 13:39:20 +0000 Received: from wnew3-smtp.messagingengine.com ([64.147.123.17]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1io67h-0003Uc-Px for pgsql-hackers@postgresql.org; Sun, 05 Jan 2020 13:39:19 +0000 Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailnew.west.internal (Postfix) with ESMTP id 241C65F1; Sun, 5 Jan 2020 08:39:16 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute1.internal (MEProxy); Sun, 05 Jan 2020 08:39:16 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ilmari.org; h= from:to:cc:subject:references:date:in-reply-to:message-id :mime-version:content-type; s=fm1; bh=ZqEcONycUazdpT4BaMyObszp8W 9aFtR/DDOxv8bnzHc=; b=dbJddrfZFS+w2byBr5WiqpahvOR/Wz4ciQlYMR9zWw Z4WdzVQc9qBDSW7wz92s4a9RvGXIf1GaZ9GOeLCopjlDnMdqTud+u64D1viKKiDz +JgFYZBgaGwQeJq5O/QeDf7AkKLWQMHM7QaBtmamx9FCkjAFDchAVftxA6hq30Y0 P8shKSwJhiaP8e+AnRKOSeWVl0vzrN/macNHOW6JQDUsZ2aS7SSglxE03ZFvLtED gEHNvTGhP0VBXWhTxXK936XF1EXhj5wuJRnHMY6/eVZK/t8AGYor1g9d6D+DAPCz mYCSDG1Gv7cHCSB9Z0203LzsIWpikiAk5RiRrwkvhJwA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; bh=ZqEcON ycUazdpT4BaMyObszp8W9aFtR/DDOxv8bnzHc=; b=nLwRoPemqRntSe9A6ZJdPj foLwPb2u1dReceq1RTCn1SOb1dLwhRhyTz0822aBdNhxgE2iNpY9dQGdaCk+dma2 Xfb03rMjY6ZzqELYxOYyG3jUtiheE532HssgoLkTXitAVemuuufT8/fU828jHADN zFh/JEL8+2TTaPQ6cqab8ZP6tNwbvVhqh6mgzTzQrIcatz1L5zofJqkDpSmYe80J /jGGOLxAUZS/caPY6mmDX6CpmzBcjrV/KZ82sYR7jdFjlLKPxsqEfFrA8qSW3jdZ qwlbiEXwaR+A970GAmty7BG0mju8gx/0lJ2x8NUhAprb5hLkv0sQj1UIJjuQghxA == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedufedrvdegkedgheegucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephffvufhfffgjkfgfgggtsehmtderredtreejnecuhfhrohhmpehilhhmrghr ihesihhlmhgrrhhirdhorhhgucdlffgrghhfihhnnhcukfhlmhgrrhhiucforghnnhhsno hkvghrmdenucfkphepgeeirdegfedrudehrddvhedvnecurfgrrhgrmhepmhgrihhlfhhr ohhmpehilhhmrghrihesihhlmhgrrhhirdhorhhgnecuvehluhhsthgvrhfuihiivgeptd X-ME-Proxy: Received: from wibble.ilmari.org (wibble.ilmari.org [46.43.15.252]) by mail.messagingengine.com (Postfix) with ESMTPA id 7AD4D30602DB; Sun, 5 Jan 2020 08:39:13 -0500 (EST) From: ilmari@ilmari.org (Dagfinn Ilmari =?utf-8?Q?Manns=C3=A5ker?=) To: Tom Lane Cc: Peter Geoghegan , Robert Haas , Christoph Berg , PostgreSQL Hackers Subject: Re: pgsql: Add basic TAP tests for psql's tab-completion logic. References: <20200103170226.GB32629@msg.df7cb.de> <22669.1578104202@sss.pgh.pa.us> <25298.1578106280@sss.pgh.pa.us> <3055.1578115809@sss.pgh.pa.us> <8038.1578119995@sss.pgh.pa.us> <9256.1578121229@sss.pgh.pa.us> <25739.1578161968@sss.pgh.pa.us> <22817.1578167447@sss.pgh.pa.us> <26857.1578183240@sss.pgh.pa.us> <912.1578189448@sss.pgh.pa.us> <1888.1578190678@sss.pgh.pa.us> <87k16610xk.fsf@wibble.ilmari.org> Date: Sun, 05 Jan 2020 13:39:11 +0000 In-Reply-To: <87k16610xk.fsf@wibble.ilmari.org> ("Dagfinn Ilmari \=\?utf-8\?Q\?Manns\=C3\=A5ker\=22's\?\= message of "Sun, 05 Jan 2020 13:35:03 +0000") Message-ID: <87h81a10qo.fsf@wibble.ilmari.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit ilmari@ilmari.org (Dagfinn Ilmari Mannsåker) writes: > Tom Lane writes: > >> Cool, I'll go commit a fix along those lines. Thanks for tracing >> this down! > > Here's one final style cleanup for the TAP test. > > - use like() for the banner test > - pass the regexes around as qr// objects, so they can be > syntax-highlighted properly, and don't need regex > metacharacter-escaping backslashes doubled. > - include the regex that didn't match in the diagnostic This time with the actual attachment... - ilmari -- - Twitter seems more influential [than blogs] in the 'gets reported in the mainstream press' sense at least. - Matt McLeod - That'd be because the content of a tweet is easier to condense down to a mainstream media article. - Calle Dybedahl --=-=-= Content-Type: text/x-diff Content-Disposition: inline; filename=0001-Use-qr-for-passed-in-regexes-in-tab-completion-TAP-t.patch