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
4ab0fef0
Commit
4ab0fef0
authored
Apr 03, 2015
by
Daniel Martí
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Run go fmt ./...
parent
b16becb1
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
fuse/server.go
fuse/server.go
+1
-1
fuse/test/fsetattr_test.go
fuse/test/fsetattr_test.go
+2
-2
No files found.
fuse/server.go
View file @
4ab0fef0
...
...
@@ -5,10 +5,10 @@ import (
"log"
"os"
"path/filepath"
"runtime"
"strings"
"sync"
"syscall"
"runtime"
"time"
"unsafe"
)
...
...
fuse/test/fsetattr_test.go
View file @
4ab0fef0
...
...
@@ -220,7 +220,7 @@ func TestFSetAttr(t *testing.T) {
}
if
a
,
status
:=
fs
.
GetAttr
(
"file"
,
nil
);
!
status
.
Ok
()
{
t
.
Errorf
(
"chmod: %v"
,
status
)
t
.
Errorf
(
"chmod: %v"
,
status
)
}
else
if
a
.
Mode
&
07777
!=
024
{
t
.
Errorf
(
"getattr after chmod: %o"
,
a
.
Mode
&
0777
)
}
...
...
@@ -229,7 +229,7 @@ func TestFSetAttr(t *testing.T) {
t
.
Fatalf
(
"Chtimes failed: %v"
,
err
)
}
if
a
,
status
:=
fs
.
GetAttr
(
"file"
,
nil
);
!
status
.
Ok
()
{
if
a
,
status
:=
fs
.
GetAttr
(
"file"
,
nil
);
!
status
.
Ok
()
{
t
.
Errorf
(
"GetAttr: %v"
,
status
)
}
else
if
a
.
Atimensec
!=
100e3
||
a
.
Mtimensec
!=
101e3
{
t
.
Errorf
(
"Utimens: atime %d != 100e3 mtime %d != 101e3"
,
...
...
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