From: Brian Warner <warner@allmydata.com>
Date: Wed, 22 Aug 2007 04:28:51 +0000 (-0700)
Subject: Makefile: fix race condition in test-clean that caused occasional failures
X-Git-Url: https://git.rkrishnan.org/uri?a=commitdiff_plain;h=55a9591540d1e0e8901c341e923e5eb63849d4dd;p=tahoe-lafs%2Ftahoe-lafs.git

Makefile: fix race condition in test-clean that caused occasional failures
---

diff --git a/Makefile b/Makefile
index acaf087e..9189722b 100644
--- a/Makefile
+++ b/Makefile
@@ -196,7 +196,7 @@ test-darcs-boringfile:
 	$(PYTHON) misc/test-darcs-boringfile.py
 
 test-clean:
-	find . |sort >allfiles.tmp.old
+	find . |grep -v allfiles.tmp |sort >allfiles.tmp.old
 	$(MAKE)
 	$(MAKE) clean
 	find . |grep -v allfiles.tmp |sort >allfiles.tmp.new