Skip to content

Commit

Permalink
lib-git-svn.sh: Add check for mis-configured web server variables
Browse files Browse the repository at this point in the history
Signed-off-by: Ramsay Jones <ramsay@ramsay1.demon.co.uk>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
  • Loading branch information
Ramsay Jones authored and Junio C Hamano committed Dec 14, 2010
1 parent b6fe974 commit cff484a
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions t/lib-git-svn.sh
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,11 @@ then
break
fi
done
if test -z "$SVN_HTTPD_PATH"
then
skip_all='skipping git svn tests, Apache not found'
test_done
fi
for d in \
"$SVN_HTTPD_MODULE_PATH" \
/usr/lib/apache2/modules \
Expand All @@ -92,6 +97,11 @@ then
break
fi
done
if test -z "$SVN_HTTPD_MODULE_PATH"
then
skip_all='skipping git svn tests, Apache module dir not found'
test_done
fi
fi

start_httpd () {
Expand Down

0 comments on commit cff484a

Please sign in to comment.