author | Jonathan Nieder <jrnieder@gmail.com> | |
Thu, 8 Jul 2010 13:36:02 +0000 (08:36 -0500) | ||
committer | Eric Wong <normalperson@yhbt.net> | |
Thu, 8 Jul 2010 20:57:53 +0000 (20:57 +0000) | ||
commit | 4ecb79386d2f45f3b439b397ac4aa592e1f4e9c8 | |
tree | 83434751592d41812ce792fff34ca34d020d4da3 | tree | snapshot |
parent | 08fd28bb08a33b419cb91935659635cd053c880b | commit | diff |
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>
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 | diff | blob | history |