From 55a9591540d1e0e8901c341e923e5eb63849d4dd Mon Sep 17 00:00:00 2001
From: Brian Warner <warner@allmydata.com>
Date: Tue, 21 Aug 2007 21:28:51 -0700
Subject: [PATCH] Makefile: fix race condition in test-clean that caused
 occasional failures

---
 Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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