Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
dms3
go-dms3
Commits
3106135d
Unverified
Commit
3106135d
authored
Feb 07, 2018
by
Whyrusleeping
Committed by
GitHub
Feb 07, 2018
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #4662 from ipfs/fix/freebsd-tests
Fix some tests on FreeBSD
parents
4ba73b80
91a9b864
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
cmd/ipfs/util/ulimit_test.go
cmd/ipfs/util/ulimit_test.go
+1
-1
test/sharness/t0086-repo-verify.sh
test/sharness/t0086-repo-verify.sh
+2
-2
No files found.
cmd/ipfs/util/ulimit_test.go
View file @
3106135d
...
...
@@ -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"
)
}
...
...
test/sharness/t0086-repo-verify.sh
View file @
3106135d
...
...
@@ -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"
'
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment