diff options
author | Johannes Schindelin <johannes.schindelin@gmx.de> | 2019-05-07 14:51:30 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2019-05-08 15:04:25 +0900 |
commit | c871fbee2b7aaa3458f422a6d69a321cbfd9808a (patch) | |
tree | 1e2969fb35638886c6ceb8e105ef2afb527fb31d /t/chainlint/command-substitution.test | |
parent | Git 2.21 (diff) | |
download | tgif-c871fbee2b7aaa3458f422a6d69a321cbfd9808a.tar.xz |
t6500(mingw): use the Windows PID of the shell
In Git for Windows, we use the MSYS2 Bash which inherits a non-standard
PID model from Cygwin's POSIX emulation layer: every MSYS2 process has a
regular Windows PID, and in addition it has an MSYS2 PID (which
corresponds to a shadow process that emulates Unix-style signal
handling).
With the upgrade to the MSYS2 runtime v3.x, this shadow process cannot
be accessed via `OpenProcess()` any longer, and therefore t6500 thought
incorrectly that the process referenced in `gc.pid` (which is not
actually a real `gc` process in this context, but the current shell) no
longer exists.
Let's fix this by making sure that the Windows PID is written into
`gc.pid` in this test script so that `git.exe` is able to understand
that that process does indeed still exist.
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/chainlint/command-substitution.test')
0 files changed, 0 insertions, 0 deletions