]> 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:48:25 +0000 (11:48 -0400)
commit1357181d46249d211837e1df7a49ee1131027a99
tree1c352a121e7b31eb6784d08984030b65135f0a06
parent059e22693b2312cd091e5afe5800cedc6abd14b8
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