Skip to content

Commit

Permalink
Merge pull request #946 from kkoroviev/t0060-daemon
Browse files Browse the repository at this point in the history
t0060-daemon.sh: Add 1 test
  • Loading branch information
jbenet committed Mar 20, 2015
2 parents 59f2f2f + d70912f commit c0f74b9
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions test/sharness/t0060-daemon.sh
Original file line number Diff line number Diff line change
Expand Up @@ -69,4 +69,11 @@ test_expect_success "'ipfs daemon' can be killed" '
test_kill_repeat_10_sec $IPFS_PID
'

test_expect_failure "'ipfs daemon' should be able to run with a pipe attached to stdin (issue #861)" '
yes | ipfs daemon --init >daemon_out 2>daemon_err &
pollEndpoint -ep=/version -v -tout=1s -tries=10 >poll_apiout 2>poll_apierr &&
test_kill_repeat_10_sec $! ||
test_fsh cat daemon_out || test_fsh cat daemon_err || test_fsh cat poll_apiout || test_fsh cat poll_apierr
'

test_done

0 comments on commit c0f74b9

Please sign in to comment.