git/list[1] front-page[2] threads[3] people[4] search[5] about
 

[PATCH 05/14] lib-git-svn.sh: Add check for mis-configured web server variables

From
Ramsay Jones <ramsay@ramsay1.demon.co.uk>
Date
Dec 14, 2010, 18:25 UTC
Message-ID
<4D07B687.7030709@ramsay1.demon.co.uk>
Signed-off-by: Ramsay Jones <ramsay@ramsay1.demon.co.uk>
---
 t/lib-git-svn.sh |   10 ++++++++++
 1 files changed, 10 insertions(+), 0 deletions(-)
diff --git a/t/lib-git-svn.sh b/t/lib-git-svn.sh
index 154f3d3..5acc0ec 100644
--- a/t/lib-git-svn.sh
+++ b/t/lib-git-svn.sh
@@ -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 \
@@ -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 () {
-- 
1.7.3
Message 1 of 1 in “lib-git-svn.sh: Add check for mis-configured web server variables”
  1. 05/14 lib-git-svn.sh: Add check for mis-configured web server variablesRamsay Jones, Dec 14, 2010

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.