]> granicus.if.org Git - postgresql/commit
Don't assume expr is available in pgbench tests
authorAndrew Dunstan <andrew@dunslane.net>
Wed, 24 Jul 2019 15:41:39 +0000 (11:41 -0400)
committerAndrew Dunstan <andrew@dunslane.net>
Wed, 24 Jul 2019 15:41:39 +0000 (11:41 -0400)
commit1a721248f3899ccf8c0c7512b91d8458f2394aeb
tree73c1c048430cf80086ee1e06446c5b52f5e2f2ca
parentfd7d387e0548fd371c06a91d75bc4632541ccfdd
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.
src/bin/pgbench/t/001_pgbench_with_server.pl