1
0
mirror of https://github.com/ipfs/kubo.git synced 2025-06-29 01:12:24 +08:00

fix shutdown check in t0023

License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
This commit is contained in:
Jeromy
2017-06-10 11:32:46 -07:00
parent 77c5f56178
commit c4f36071da

View File

@ -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