Fix TAP tests and MSVC scripts for pathnames with spaces.

Tom Lane <tgl@sss.pgh.pa.us>

Commit: 30b2731bd21741a6370afba330cea31c75da3bdb
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2016-07-09T20:47:38Z
Releases: 9.6.0
Fix TAP tests and MSVC scripts for pathnames with spaces.

Change assorted places in our Perl code that did things like
	system("prog $path/file");
to do it more like
	system('prog', "$path/file");
which is safe against spaces and other special characters in the path
variable.  The latter was already the prevailing style, but a few bits
of code hadn't gotten this memo.  Back-patch to 9.4 as relevant.

Michael Paquier, Kyotaro Horiguchi

Discussion: <20160704.160213.111134711.horiguchi.kyotaro@lab.ntt.co.jp>

Files

PathChange+/−
src/test/perl/PostgresNode.pm modified +4 −3
src/tools/msvc/Install.pm modified +22 −10
src/tools/msvc/vcregress.pl modified +13 −7