]> git.rkrishnan.org Git - tahoe-lafs/tahoe-lafs.git/commitdiff
Makefile check-speed: force-quit any leftover client before starting a new test
authorBrian Warner <warner@lothar.com>
Fri, 14 Dec 2007 09:04:25 +0000 (02:04 -0700)
committerBrian Warner <warner@lothar.com>
Fri, 14 Dec 2007 09:04:25 +0000 (02:04 -0700)
Makefile

index 7bf9425715e19ea7341aff9b7d126095ad7f900a..3c04949e4d7764128f67a0b400ebc15b71902a7f 100644 (file)
--- 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)