mirror of
https://github.com/ipfs/kubo.git
synced 2025-06-28 17:03:58 +08:00
fix t0086-repo-verify.sh on FreeBSD
License: MIT Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
This commit is contained in:
@ -12,7 +12,7 @@ test_init_ipfs
|
|||||||
|
|
||||||
sort_rand() {
|
sort_rand() {
|
||||||
case `uname` in
|
case `uname` in
|
||||||
Linux)
|
Linux|FreeBSD)
|
||||||
sort -R
|
sort -R
|
||||||
;;
|
;;
|
||||||
Darwin)
|
Darwin)
|
||||||
@ -32,7 +32,7 @@ check_random_corruption() {
|
|||||||
'
|
'
|
||||||
|
|
||||||
test_expect_success "repo verify detects failure" '
|
test_expect_success "repo verify detects failure" '
|
||||||
test_expect_code 1 ipfs repo verify
|
test_expect_code 1 ipfs repo verify
|
||||||
'
|
'
|
||||||
|
|
||||||
test_expect_success "replace the object" '
|
test_expect_success "replace the object" '
|
||||||
|
Reference in New Issue
Block a user