@cryptotaxi247 / kubo / commits / cef8c3c1a

test: handle murmur3 rename

Steven Allen committed Aug 23, 2019 at 17:07 UTC cef8c3c1a4d8004669a535849f10a66f1dfdc72f
1 file changed +2 -2
test/sharness/t0275-cid-security.sh
+2 -2
@@ -11,11 +11,11 @@ test_description="Cid Security"
11 test_init_ipfs
12
13 test_expect_success "adding using unsafe function fails with error" '
14 - echo foo | test_must_fail ipfs add --hash murmur3 2>add_out
14 + echo foo | test_must_fail ipfs add --hash murmur3-128 2>add_out
15 '
16
17 test_expect_success "error reason is pointed out" '
18 - grep "insecure hash functions not allowed" add_out
18 + grep "insecure hash functions not allowed" add_out || test_fsh cat add_out
19 '
20
21 test_expect_success "adding using too short of a hash function gives out an error" '