t9118 (git-svn): prevent early failure from taking down later tests
commit4ecb79386d2f45f3b439b397ac4aa592e1f4e9c8
authorJonathan Nieder <jrnieder@gmail.com>
Thu, 8 Jul 2010 13:36:02 +0000 (8 08:36 -0500)
committerEric Wong <normalperson@yhbt.net>
Thu, 8 Jul 2010 20:57:53 +0000 (8 20:57 +0000)
tree83434751592d41812ce792fff34ca34d020d4da3
parent08fd28bb08a33b419cb91935659635cd053c880b
t9118 (git-svn): prevent early failure from taking down later tests

When test #2 fails, the cwd is project/, causing all the
remaining tests in the same script to get confused and fail.

So in the spirit of v1.7.1.1~53^2~10 (t5550-http-fetch: Use subshell
for repository operations, 2010-04-17), use a subshell for svn
working copy operations.  This way, the cwd will reliably return
to the top of the trash directory and later tests can still be run
when a command has failed.

Reported-by: A Large Angry SCM <gitzilla@gmail.com>
Signed-off-by: Jonathan Nieder <jrnieder@gmail.com>
Acked-by: Eric Wong <normalperson@yhbt.net>
t/t9118-git-svn-funky-branch-names.sh