From: Brian Warner <warner@lothar.com>
Date: Fri, 14 Dec 2007 09:04:25 +0000 (-0700)
Subject: Makefile check-speed: force-quit any leftover client before starting a new test
X-Git-Url: https://git.rkrishnan.org/%5B/frontends/%22file:/status?a=commitdiff_plain;h=f3a3548d02dbf5c62ba737417b8e43a4a08c6620;p=tahoe-lafs%2Ftahoe-lafs.git

Makefile check-speed: force-quit any leftover client before starting a new test
---

diff --git a/Makefile b/Makefile
index 7bf94257..3c04949e 100644
--- a/Makefile
+++ b/Makefile
@@ -251,6 +251,8 @@ check-memory-once: .built
 
 check-speed: .built
 	if [ -z '$(TESTCLIENTDIR)' ]; then exit 1; fi
+	@echo "stopping any leftover client code"
+	-$(PYTHON) bin/tahoe stop $(TESTCLIENTDIR)
 	$(PYTHON) bin/tahoe start $(TESTCLIENTDIR)
 	sleep 5
 	$(PYTHON) src/allmydata/test/check_speed.py $(TESTCLIENTDIR)