pgsql: Don't assume expr is available in pgbench tests

From: Andrew Dunstan <andrew(at)dunslane(dot)net>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Don't assume expr is available in pgbench tests
Date: 2019-07-24 15:49:16
Message-ID: E1hqJW0-0000Gi-QZ@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Don't assume expr is available in pgbench tests

Windows hosts do not normally come with expr, so instead of using that
to test the \setshell command, use echo instead, which is fairly
universally available.

Backpatch to release 11, where this came in.

Problem found by me, patch by Fabien Coelho.

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/1a721248f3899ccf8c0c7512b91d8458f2394aeb

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

Browse pgsql-committers by date

  From Date Subject
Next Message Heikki Linnakangas 2019-07-24 17:27:27 pgsql: Refactor checks for deleted GiST pages.
Previous Message Michael Paquier 2019-07-24 07:06:58 Re: pgsql: Doc: Clarify interactions of pg_receivewal with remote_apply