You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by ic...@apache.org on 2018/01/17 14:09:21 UTC

svn commit: r1821366 - /httpd/test/mod_h2/trunk/Makefile.am

Author: icing
Date: Wed Jan 17 14:09:21 2018
New Revision: 1821366

URL: http://svn.apache.org/viewvc?rev=1821366&view=rev
Log:
adding full cycle restart make target for convenience

Modified:
    httpd/test/mod_h2/trunk/Makefile.am

Modified: httpd/test/mod_h2/trunk/Makefile.am
URL: http://svn.apache.org/viewvc/httpd/test/mod_h2/trunk/Makefile.am?rev=1821366&r1=1821365&r2=1821366&view=diff
==============================================================================
--- httpd/test/mod_h2/trunk/Makefile.am (original)
+++ httpd/test/mod_h2/trunk/Makefile.am Wed Jan 17 14:09:21 2018
@@ -79,9 +79,14 @@ start-gdb: $(SERVER_DIR)/.test-setup
 	gdb $(HTTPD)
 
 restart: $(SERVER_DIR)/.test-setup
+	@echo -n stopping httpd...
+	-@$(APACHECTL) -k stop
+	@rm -f gen/apache/logs/*log
 	@echo -n restarting httpd...
+	@sleep 1
 	@$(APACHECTL) -k restart
-	@echo done.
+	@sleep 2
+	@head gen/apache/logs/error_log
 
 reload: $(SERVER_DIR)/.test-setup
 	@echo -n reloading httpd...