From cf20552af8dacbc03ff8d25f7b49c7b8d1ce820e Mon Sep 17 00:00:00 2001 From: Christian Couder Date: Tue, 27 Jan 2015 23:24:49 +0100 Subject: [PATCH] Fix daemon initialization output change Since commit 76d9d89aff230895dd3bb1171085eb85633fcbc3, there is "Initializing daemon..." printed on the standard output when the daemon is started. This means that tests have to be fixed accordingly. License: MIT Signed-off-by: Christian Couder --- test/sharness/lib/test-lib.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/sharness/lib/test-lib.sh b/test/sharness/lib/test-lib.sh index f19f4fdde..817ed2c61 100644 --- a/test/sharness/lib/test-lib.sh +++ b/test/sharness/lib/test-lib.sh @@ -88,7 +88,8 @@ test_launch_ipfs_daemon() { test_expect_success FUSE "'ipfs daemon' output looks good" ' IPFS_PID=$! && - echo "API server listening on /ip4/127.0.0.1/tcp/5001" >expected && + echo "Initializing daemon..." >expected && + echo "API server listening on /ip4/127.0.0.1/tcp/5001" >>expected && test_cmp_repeat_10_sec expected actual || fsh cat daemon_err '