@cryptotaxi247 / kubo / commits / d70912fff

t0060-daemon.sh: Add 1 test

Konstantin Koroviev committed Mar 19, 2015 at 16:32 UTC d70912fff13279133e11d9a61d3be661e253afac
1 file changed +7
test/sharness/t0060-daemon.sh
+7
@@ -69,4 +69,11 @@ test_expect_success "'ipfs daemon' can be killed" '
69 test_kill_repeat_10_sec $IPFS_PID
70 '
71
72 +test_expect_failure "'ipfs daemon' should be able to run with a pipe attached to stdin (issue #861)" '
73 + yes | ipfs daemon --init >daemon_out 2>daemon_err &
74 + pollEndpoint -ep=/version -v -tout=1s -tries=10 >poll_apiout 2>poll_apierr &&
75 + test_kill_repeat_10_sec $! ||
76 + test_fsh cat daemon_out || test_fsh cat daemon_err || test_fsh cat poll_apiout || test_fsh cat poll_apierr
77 +'
78 +
79 test_done