pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Andrew Dunstan <andrew@dunslane.net>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Fix pgbench TAP test failure with funky file names (redux)
Date: Tue, 05 Mar 2019 15:51:17 +0000
Message-ID: <E1h1CLd-00054y-Pd@gemulon.postgresql.org> (raw)

Fix pgbench TAP test failure with funky file names (redux)

This test fails if the containing directory contains a funny character
such as a space or some perl metacharacter. To avoid that, we check for
files names using readdir and a regex, rather than using a glob pattern.

Discussion: https://postgr.es/m/CAM6_UM6dGdU39PKAC24T+HD9ouy0jLN9vH6163K8QEEzr__iZw@mail.gmail.com

Author: Fabien COELHO
Reviewed-by: Raúl Marín Rodríguez

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/e988878f85436dcd74e503c94f5b8e2b76a08711

Modified Files
--------------
src/bin/pgbench/t/001_pgbench_with_server.pl | 53 ++++++++++++++++++++--------
1 file changed, 39 insertions(+), 14 deletions(-)



view thread (2+ messages)

Message-ID: <E1h1CLd-00054y-Pd@gemulon.postgresql.org>
Permalink:  ../E1h1CLd-00054y-Pd@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1h1CLd-00054y-Pd@gemulon.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-committers@postgresql.org
  Cc: andrew@dunslane.net
  Subject: Re: pgsql: Fix pgbench TAP test failure with funky file names (redux)
  In-Reply-To: <E1h1CLd-00054y-Pd@gemulon.postgresql.org>
  References: <E1h1CLd-00054y-Pd@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox