Skip to content

Commit

Permalink
git svn info: tests: do not use set -e
Browse files Browse the repository at this point in the history
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>
Acked-by: Eric Wong <normalperson@yhbt.net>
  • Loading branch information
Thomas Rast authored and Eric Wong committed Sep 5, 2008
1 parent c9ab9ee commit e9a805a
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions t/t9119-git-svn-info.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit e9a805a

Please sign in to comment.