t9300-fast-import: store the PID in a variable instead of pidfile
commit21f57620b2e73d20f5c98006af756e0162eaee3b
authorSZEDER Gábor <szeder.dev@gmail.com>
Fri, 6 Dec 2019 19:03:30 +0000 (6 20:03 +0100)
committerJunio C Hamano <gitster@pobox.com>
Fri, 6 Dec 2019 19:45:57 +0000 (6 11:45 -0800)
tree381b888b0df39e126f989dc6bd845f1e78845503
parentda72936f544fec5a335e66432610e4cef4430991
t9300-fast-import: store the PID in a variable instead of pidfile

The five tests running 'git fast-import' in the background in
't9300-fast-import.sh' store the PID of that background process in a
pidfile, to be used to check whether that background process survived
each test and then to kill it in test_when_finished commands.  To
achieve this all these five tests run three $(cat <pidfile>) command
substitutions each.

Store the PID of the background 'git fast-import' in a variable to
avoid those extra processes.

Signed-off-by: SZEDER Gábor <szeder.dev@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t9300-fast-import.sh