From d0c6aa569d965b3dd863d5882e01d443c42d88f6 Mon Sep 17 00:00:00 2001
From: francois <francois@ctrlaltdel.ch>
Date: Sat, 9 Jan 2010 09:59:46 -0800
Subject: [PATCH] contrib/fuse/runtests.py: Tolerate the tahoe CLI returning
 deprecation warnings

Depending on the versions of external libraries such as Twisted of Foolscap,
the tahoe CLI can display deprecation warnings on stdout.  The tests should
not interpret those warnings as a failure if the node is in fact correctly
started.

See http://allmydata.org/trac/tahoe/ticket/859 for an example of deprecation
warnings.

fixes #876
---
 contrib/fuse/runtests.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/contrib/fuse/runtests.py b/contrib/fuse/runtests.py
index a93455c2..4aa457bb 100644
--- a/contrib/fuse/runtests.py
+++ b/contrib/fuse/runtests.py
@@ -897,7 +897,7 @@ def wrap_os_error(meth, *args):
 
 
 ExpectedCreationOutput = r'(introducer|client) created in (?P<path>.*?)\n'
-ExpectedStartOutput = r'STARTING (?P<path>.*?)\n(introducer|client) node probably started'
+ExpectedStartOutput = r'(.*\n)*STARTING (?P<path>.*?)\n(introducer|client) node probably started'
 
 
 if __name__ == '__main__':
-- 
2.45.2