t7300: fix clean up on Windows
commite2c2407683bf51c30004d2804623f2eb8e831b7a
authorJohannes Schindelin <johannes.schindelin@gmx.de>
Wed, 11 Mar 2009 16:58:32 +0000 (11 17:58 +0100)
committerJohannes Sixt <j6t@kdbg.org>
Thu, 19 Mar 2009 20:47:14 +0000 (19 21:47 +0100)
tree25e880222039bf022b83e46c6e124d5e4a82034e
parent1f553918a8482ea792e8cd4d5d2c75fe60f68aae
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