1
0
mirror of https://github.com/ipfs/kubo.git synced 2025-10-25 02:16:56 +08:00

t0220: check if 'ipfs bitswap' fails

License: MIT
Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
This commit is contained in:
Christian Couder
2015-10-04 00:18:43 +02:00
parent 26cdd9957f
commit 93aa8d0fb3

View File

@ -14,7 +14,8 @@ test_launch_ipfs_daemon
test_expect_success "'ipfs block get' adds hash to wantlist" '
export NONEXIST=QmeXxaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa &&
test_expect_code 1 ipfs block get $NONEXIST --timeout=10ms &&
ipfs bitswap wantlist | grep $NONEXIST
ipfs bitswap wantlist >wantlist_out &&
grep $NONEXIST wantlist_out
'
test_expect_success "'ipfs bitswap unwant' succeeds" '