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 <chriscool@tuxfamily.org>
Christian Couder committed
Jan 27, 2015 at 23:24 UTC
cf20552af8dacbc03ff8d25f7b49c7b8d1ce820e
1 file changed
+2
-1
test/sharness/lib/test-lib.sh
+2
-1
@@ -88,7 +88,8 @@ test_launch_ipfs_daemon() {
88
89
test_expect_success FUSE "'ipfs daemon' output looks good" '
90
IPFS_PID=$! &&
91
- echo "API server listening on /ip4/127.0.0.1/tcp/5001" >expected &&
91
+ echo "Initializing daemon..." >expected &&
92
+ echo "API server listening on /ip4/127.0.0.1/tcp/5001" >>expected &&
93
test_cmp_repeat_10_sec expected actual ||
94
fsh cat daemon_err
95
'