Don't assume expr is available in pgbench tests

Andrew Dunstan <andrew@dunslane.net>

Commit: 1a721248f3899ccf8c0c7512b91d8458f2394aeb
Author: Andrew Dunstan <andrew@dunslane.net>
Date: 2019-07-24T15:41:39Z
Releases: 13.0
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.

Files

PathChange+/−
src/bin/pgbench/t/001_pgbench_with_server.pl modified +5 −5