mirror of
https://github.com/ipfs/kubo.git
synced 2026-02-21 10:27:46 +08:00
cidsec: add test for command closing right away
License: MIT Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
This commit is contained in:
parent
b5a45a1d90
commit
e5ff2c3de2
@ -0,0 +1,3 @@
|
||||
|
||||
ヤ
|
||||
Um
|
||||
@ -71,6 +71,16 @@ test_gc
|
||||
test_launch_ipfs_daemon
|
||||
test_cat_get
|
||||
test_gc
|
||||
|
||||
test_expect_success "add block linking to insecure" '
|
||||
mkdir -p "$IPFS_PATH/blocks/5X" &&
|
||||
cp -f "../t0275-cid-security-data/CIQG6PGTD2VV34S33BE4MNCQITBRFYUPYQLDXYARR3DQW37MOT7K5XI.data" "$IPFS_PATH/blocks/5X"
|
||||
'
|
||||
|
||||
test_expect_success "ipfs cat fails with code 1 and not timeout" '
|
||||
test_expect_code 1 go-timeout 1s ipfs cat QmVpsktzNeJdfWEpyeix93QJdQaBSgRNxebSbYSo9SQPGx
|
||||
'
|
||||
|
||||
test_kill_ipfs_daemon
|
||||
|
||||
test_done
|
||||
|
||||
Loading…
Reference in New Issue
Block a user