Unverified Commit 3106135d authored by Whyrusleeping's avatar Whyrusleeping Committed by GitHub

Merge pull request #4662 from ipfs/fix/freebsd-tests

Fix some tests on FreeBSD
parents 4ba73b80 91a9b864
......@@ -75,7 +75,7 @@ func TestManageFdLimitWithEnvSet(t *testing.T) {
}
setMaxFds()
if maxFds != value {
if maxFds != uint64(value) {
t.Errorf("The maxfds is not set from IPFS_FD_MAX")
}
......
......@@ -12,7 +12,7 @@ test_init_ipfs
sort_rand() {
case `uname` in
Linux)
Linux|FreeBSD)
sort -R
;;
Darwin)
......@@ -32,7 +32,7 @@ check_random_corruption() {
'
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" '
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment