t6026-merge-attr: clean up background process at end of test case
commit5babb5bdb3d09ee670f7e3a3ae596eb2f1d02268
authorJohannes Sixt <j6t@kdbg.org>
Wed, 7 Sep 2016 06:10:41 +0000 (7 08:10 +0200)
committerJunio C Hamano <gitster@pobox.com>
Wed, 7 Sep 2016 18:40:22 +0000 (7 11:40 -0700)
treefd2371d2b1b8d7de6905dd197d14f8c6d6f0dad2
parent6ebdac1bab966b720d776aa43ca188fe378b1f4b
t6026-merge-attr: clean up background process at end of test case

The process spawned in the hook uses the test's trash directory as CWD.
As long as it is alive, the directory cannot be removed on Windows.
Although the test succeeds, the 'test_done' that follows produces an
error message and leaves the trash directory around. Kill the process
before the test case advances.

Helped-by: Johannes Schindelin <Johannes.Schindelin@gmx.de>
Signed-off-by: Johannes Sixt <j6t@kdbg.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t6026-merge-attr.sh