[PATCH 2/6] git svn info: tests: do not use set -e
- From
Thomas Rast <trast@student.ethz.ch>
- Date
- Aug 26, 2008, 19:32 UTC
- Message-ID
- <1219779157-31602-3-git-send-email-trast@student.ethz.ch>
- In-Reply-To
- <1219779157-31602-2-git-send-email-trast@student.ethz.ch>
Exiting in the middle of a test confuses the test suite, which will just say "FATAL: Unexpected exit with code 1" in response to a failed test, instead of actually diagnosing failure and continuing with the next test.
Signed-off-by: Thomas Rast <trast@student.ethz.ch> --- t/t9119-git-svn-info.sh | 2 -- 1 files changed, 0 insertions(+), 2 deletions(-)
diff --git a/t/t9119-git-svn-info.sh b/t/t9119-git-svn-info.sh index 46676bc..a70f2b9 100755 --- a/t/t9119-git-svn-info.sh +++ b/t/t9119-git-svn-info.sh @@ -6,8 +6,6 @@ test_description='git-svn info' . ./lib-git-svn.sh -set -e - # Tested with: svn, version 1.4.4 (r25188) v=`svn --version | sed -n -e 's/^svn, version \(1\.[0-9]*\.[0-9]*\).*$/\1/p'` case $v in
-- 1.6.0.1.96.g9307e.dirty