subversion-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r1823839 - /subversion/trunk/tools/dev/unix-build/Makefile.svn
Date Sun, 11 Feb 2018 13:42:04 GMT
Author: stsp
Date: Sun Feb 11 13:42:04 2018
New Revision: 1823839

URL: http://svn.apache.org/viewvc?rev=1823839&view=rev
Log:
* tools/dev/unix-build/Makefile.svn: Move stale HTTPD error log file out
   of the way. Otherwise, this file keeps growing with every test run, and
   eventually available disk space fills up on the svn-bb-openbsd buildbot.

Modified:
    subversion/trunk/tools/dev/unix-build/Makefile.svn

Modified: subversion/trunk/tools/dev/unix-build/Makefile.svn
URL: http://svn.apache.org/viewvc/subversion/trunk/tools/dev/unix-build/Makefile.svn?rev=1823839&r1=1823838&r2=1823839&view=diff
==============================================================================
--- subversion/trunk/tools/dev/unix-build/Makefile.svn (original)
+++ subversion/trunk/tools/dev/unix-build/Makefile.svn Sun Feb 11 13:42:04 2018
@@ -1962,6 +1962,7 @@ libpath:
 
 HTTPD_CMD = env LD_LIBRARY_PATH=$(LD_LIBRARY_PATH) \
 		$(PREFIX)/httpd/bin/apachectl
+HTTPD_LOG_ROTATE = mv $(PREFIX)/httpd/logs/error_log $(PREFIX)/httpd/logs/error_log.old
 HTTPD_START_CMD = $(HTTPD_CMD) -f $(HTTPD_CHECK_CONF) -k start
 HTTPD_START_CMD_PROXY = $(HTTPD_CMD) -f $(HTTPD_PROXY_CONF)
 HTTPD_START_CMD_DEBUG = $(HTTPD_START_CMD) -X
@@ -1980,6 +1981,7 @@ SVNSERVE_STOP_CMD = kill `cat $(PWD)/svn
 			rm -f $(PWD)/svnserve-$(WC).pid
 
 start-httpd: $(HTTPD_CHECK_CONF)
+	-$(HTTPD_LOG_ROTATE)
 	$(HTTPD_START_CMD)
 	@echo "To run tests over http, run:"
 	@echo "    make check BASE_URL=http://localhost:$(HTTPD_CHECK_PORT)"



Mime
View raw message