Skip to content

Commit

Permalink
Merge pull request #3969 from ipfs/fix/shutdown-test
Browse files Browse the repository at this point in the history
fix shutdown check in t0023
  • Loading branch information
whyrusleeping authored Jun 11, 2017
2 parents 77c5f56 + c4f3607 commit 4fe7fb8
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion test/sharness/t0023-shutdown.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,11 @@ test_expect_success "shutdown succeeds" '
'

test_expect_success "daemon no longer running" '
test_expect_code 1 kill -0 $IPFS_PID
for i in $(test_seq 1 100)
do
go-sleep 100ms
! kill -0 $IPFS_PID 2>/dev/null && return
done
'

test_launch_ipfs_daemon --offline
Expand Down

0 comments on commit 4fe7fb8

Please sign in to comment.