pgsql: Avoid unportable shell syntax in pg_upgrade's test script. - Mailing list pgsql-committers

From Tom Lane
Subject pgsql: Avoid unportable shell syntax in pg_upgrade's test script.
Date
Msg-id E1fgZgv-0007ya-EI@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
Avoid unportable shell syntax in pg_upgrade's test script.

Most of test.sh uses traditional backtick syntax for command substitution,
but commit da9b580d8 introduced two uses of $(...) syntax, which is not
recognized by very old shells.  Bring those into line with the rest.

Victor Wagner

Discussion: https://postgr.es/m/20180720153820.69e9ae6c@fafnir.local.vm

Branch
------
REL_11_STABLE

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

Modified Files
--------------
src/bin/pg_upgrade/test.sh | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)


pgsql-committers by date:

Previous
From: Dean Rasheed
Date:
Subject: pgsql: Guard against rare RAND_bytes() failures in pg_strong_random().
Next
From: Tom Lane
Date:
Subject: pgsql: Be more paranoid about quoting in pg_upgrade's test script.