From f3a3548d02dbf5c62ba737417b8e43a4a08c6620 Mon Sep 17 00:00:00 2001
From: Brian Warner <warner@lothar.com>
Date: Fri, 14 Dec 2007 02:04:25 -0700
Subject: [PATCH] Makefile check-speed: force-quit any leftover client before
 starting a new test

---
 Makefile | 2 ++
 1 file changed, 2 insertions(+)

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)
-- 
2.45.2