diff options
author | Jonathan Nieder <jrnieder@gmail.com> | 2010-07-08 08:36:02 -0500 |
---|---|---|
committer | Eric Wong <normalperson@yhbt.net> | 2010-07-08 20:57:53 +0000 |
commit | 4ecb79386d2f45f3b439b397ac4aa592e1f4e9c8 (patch) | |
tree | 83434751592d41812ce792fff34ca34d020d4da3 /t/lib-patch-mode.sh | |
parent | 08fd28bb08a33b419cb91935659635cd053c880b (diff) | |
download | git-4ecb79386d2f45f3b439b397ac4aa592e1f4e9c8.tar.gz |
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>
Diffstat (limited to 't/lib-patch-mode.sh')
0 files changed, 0 insertions, 0 deletions