Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
go-fuse
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Levin Zimmermann
go-fuse
Commits
ae675f73
Commit
ae675f73
authored
Jul 21, 2011
by
Han-Wen Nienhuys
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix statfs test on i386.
parent
ceac4073
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
3 deletions
+9
-3
fuse/loopback_test.go
fuse/loopback_test.go
+9
-3
No files found.
fuse/loopback_test.go
View file @
ae675f73
...
...
@@ -639,7 +639,8 @@ func TestStatFs(t *testing.T) {
ts
:=
NewTestCase
(
t
)
defer
ts
.
Cleanup
()
s1
:=
syscall
.
Statfs_t
{}
empty
:=
syscall
.
Statfs_t
{}
s1
:=
empty
err
:=
syscall
.
Statfs
(
ts
.
orig
,
&
s1
)
if
err
!=
0
{
t
.
Fatal
(
"statfs orig"
,
err
)
...
...
@@ -650,8 +651,13 @@ func TestStatFs(t *testing.T) {
s1
.
Type
=
0
s2
.
Type
=
0
s1
.
Fsid
=
[
8
]
byte
{
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
}
s2
.
Fsid
=
[
8
]
byte
{
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
}
s1
.
Fsid
=
empty
.
Fsid
s2
.
Fsid
=
empty
.
Fsid
s1
.
Spare
=
empty
.
Spare
s2
.
Spare
=
empty
.
Spare
if
err
!=
0
{
t
.
Fatal
(
"statfs mnt"
,
err
)
}
...
...
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