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
Kirill Smelkov
go-fuse
Commits
531281a7
Commit
531281a7
authored
Nov 18, 2011
by
Han-Wen Nienhuys
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix compile errors.
parent
f58785aa
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
5 deletions
+4
-5
unionfs/memunionfs_test.go
unionfs/memunionfs_test.go
+1
-1
unionfs/unionfs_test.go
unionfs/unionfs_test.go
+3
-4
No files found.
unionfs/memunionfs_test.go
View file @
531281a7
...
...
@@ -615,7 +615,7 @@ func TestMemUnionFsStatFs(t *testing.T) {
s1
:=
syscall
.
Statfs_t
{}
err
:=
syscall
.
Statfs
(
wd
+
"/mnt"
,
&
s1
)
if
err
!=
0
{
if
err
!=
nil
{
t
.
Fatal
(
"statfs mnt"
,
err
)
}
if
s1
.
Bsize
==
0
{
...
...
unionfs/unionfs_test.go
View file @
531281a7
...
...
@@ -601,9 +601,8 @@ func TestUnionFsWriteAccess(t *testing.T) {
CheckSuccess
(
err
)
freezeRo
(
wd
+
"/ro"
)
errno
:=
syscall
.
Access
(
wd
+
"/mnt/file"
,
fuse
.
W_OK
)
if
errno
!=
0
{
err
=
os
.
Errno
(
errno
)
err
=
syscall
.
Access
(
wd
+
"/mnt/file"
,
fuse
.
W_OK
)
if
err
!=
nil
{
CheckSuccess
(
err
)
}
}
...
...
@@ -1009,7 +1008,7 @@ func TestUnionFsStatFs(t *testing.T) {
s1
:=
syscall
.
Statfs_t
{}
err
:=
syscall
.
Statfs
(
wd
+
"/mnt"
,
&
s1
)
if
err
!=
0
{
if
err
!=
nil
{
t
.
Fatal
(
"statfs mnt"
,
err
)
}
if
s1
.
Bsize
==
0
{
...
...
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