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 1gkZnu-0008O0-OM for pgsql-hackers@arkaria.postgresql.org; Fri, 18 Jan 2019 19:27:47 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1gkZnt-0000h1-G0 for pgsql-hackers@arkaria.postgresql.org; Fri, 18 Jan 2019 19:27:45 +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 1gkZnt-0000gs-0k for pgsql-hackers@lists.postgresql.org; Fri, 18 Jan 2019 19:27:45 +0000 Received: from mail-qt1-x842.google.com ([2607:f8b0:4864:20::842]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1gkZnp-0005Rg-Ln for pgsql-hackers@postgresql.org; Fri, 18 Jan 2019 19:27:43 +0000 Received: by mail-qt1-x842.google.com with SMTP id l11so16545665qtp.0 for ; Fri, 18 Jan 2019 11:27:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=2ndquadrant-com.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:mime-version:content-disposition :content-transfer-encoding:in-reply-to:user-agent; bh=wZESZ3DRdwagibpj571Du8sY+SmdkGZbmdvJolSzssc=; b=ZgwM3tUDOn06Hr5+iBmXa/r/Z1OKTEDkoS0LzQ4HcXME/e7B43/YVKCt4GcgUfco51 zzgmlURqqau/SPdI0vQaWCM2lmSmKxuZdfXTc2jrCWPAToXTKCEBs2vq0GpZwPbg7Yxk IdP8UxnNb6TbCgd84gxGC0vxYIv8UiOqHwU1dC/Ex4PLNYGRUP+7iitP13UFlsEj+rCD J+LlFrMssKeUGQkJGbPky6M1iuFgR85lE26GbMZ22cIY0UKikzi7wod9TOFgPyS6mGT7 vnSZYFVoUmJNn7hEUnnVTE1EB/puT5EiQv4ZF7Ren+u96m2j47yEOkHI1bocikdDoQdg e0Qw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:mime-version :content-disposition:content-transfer-encoding:in-reply-to :user-agent; bh=wZESZ3DRdwagibpj571Du8sY+SmdkGZbmdvJolSzssc=; b=oU7rUMrsV42WDLgbf3NHZ+P6rQwNL8KNW1PWJpFwPhjPQjQyIM0wvgTB+xGXdgJzZg Uf28hvIlTI4ztkxtJ/Tanmo7wBQ4Z1zK5Tlss7Y9iFVyPp5H/+ciHSW36y9hI2x8zwb/ th0+f/0qR9qe9VzC25m3MyYjEU+kunA4fpIxYD/t8mhlnbB/bKDECmFooEtx27DN+OM3 g5eBRPAtjuJxJ1EOoCw0W8W8veeLu/D9/m8urS/XbrbX9we+OJ9HkSlr5qs4tNO78Rm8 iKbAeJSm5jl+BV9nFOd6j+42CbVlDSoCnLDetqmo+LGgfLMCmp7U8o+PHSRAmI+GxRrJ /c/g== X-Gm-Message-State: AJcUukcc36CzKFnLTA8YrqXXkKtLSzY0stXPplb+9/+cGUvvnpJWC3i8 WFYjt9vb9G2DlifQ35WTR+oVnw== X-Google-Smtp-Source: ALg8bN71tKQwifO8LUYGyJbatd/E24KNL2cpU7qtwBgroEVpoOXMSy3sUVl6SPfUif4goiqraOgBow== X-Received: by 2002:ac8:2353:: with SMTP id b19mr17058022qtb.187.1547839660737; Fri, 18 Jan 2019 11:27:40 -0800 (PST) Received: from alvin.alvh.no-ip.org ([190.121.29.3]) by smtp.gmail.com with ESMTPSA id b6sm43009180qtq.29.2019.01.18.11.27.40 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 18 Jan 2019 11:27:40 -0800 (PST) Received: by alvin.alvh.no-ip.org (Postfix, from userid 1000) id 65A38978; Fri, 18 Jan 2019 16:27:38 -0300 (-03) Date: Fri, 18 Jan 2019 16:27:38 -0300 From: Alvaro Herrera To: =?utf-8?B?UmHDumwgTWFyw61uIFJvZHLDrWd1ZXo=?= Cc: Tom Lane , PostgreSQL mailing lists Subject: Re: [PATCH] pgbench tap tests fail if the path contains a perl special character Message-ID: <201901181927.sbv5o72uu4cc@alvherre.pgsql> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: NeoMutt/20180716-1013-2c1e88 List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On 2019-Jan-18, Raúl Marín Rodríguez wrote: > Hi, > > > Fun. But is that really the only place that fails? > > Yes, other than this it builds flawlessly. > > > This does not look right to me: glob has a different set of special > > characters than regexes, no? > > The issue itself manifests in the grep call, not in glob, but I tried > using `quotemeta` only for grep without success (probably because I didn't > know how to properly call `quotemeta` over @logs. Perhaps you can do @quoted = map { quotemeta($_) } @logs; -- Álvaro Herrera https://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services