mirror of
https://github.com/ipfs/kubo.git
synced 2026-02-28 13:57:52 +08:00
fix(sharness): switch insecure hash function test
License: MIT Signed-off-by: hannahhoward <hannah@hannahhoward.net>
This commit is contained in:
parent
3f7e23e640
commit
2ef501dec8
@ -11,7 +11,7 @@ test_description="Cid Security"
|
||||
test_init_ipfs
|
||||
|
||||
test_expect_success "adding using unsafe function fails with error" '
|
||||
echo foo | test_must_fail ipfs add --hash murmur3-128 2>add_out
|
||||
echo foo | test_must_fail ipfs add --hash shake-128 2>add_out
|
||||
'
|
||||
|
||||
test_expect_success "error reason is pointed out" '
|
||||
|
||||
Loading…
Reference in New Issue
Block a user