t7300: fix clean up on Windows
commitb948d7cf5546d3ebb17d142ecee6fbd983c4b1e7
authorJohannes Schindelin <johannes.schindelin@gmx.de>
Wed, 11 Mar 2009 16:58:32 +0000 (11 17:58 +0100)
committerJohannes Sixt <j6t@kdbg.org>
Wed, 18 Mar 2009 12:38:12 +0000 (18 13:38 +0100)
tree4e336525d26d748ff0b31444f5a777ce460a928d
parentf659ae81d868ad7fbde7558187658cb965976a8c
t7300: fix clean up on Windows

On Windows, you cannot remove files that are in use, not even with
'rm -rf'.  So we need to run 'exec <foo/bar' inside a subshell lest
removing the whole test repository fail.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Signed-off-by: Johannes Sixt <j6t@kdbg.org>
t/t7300-clean.sh