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
0534f2ff
Commit
0534f2ff
authored
Aug 09, 2016
by
Han-Wen Nienhuys
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use fuse.ENOATTR rather than syscall.ENOATTR.
parent
2aee071c
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
2 deletions
+1
-2
fuse/pathfs/xattr_test.go
fuse/pathfs/xattr_test.go
+1
-2
No files found.
fuse/pathfs/xattr_test.go
View file @
0534f2ff
...
@@ -11,7 +11,6 @@ import (
...
@@ -11,7 +11,6 @@ import (
"io/ioutil"
"io/ioutil"
"os"
"os"
"path/filepath"
"path/filepath"
"syscall"
"testing"
"testing"
"github.com/hanwen/go-fuse/fuse"
"github.com/hanwen/go-fuse/fuse"
...
@@ -200,7 +199,7 @@ func TestXAttrRead(t *testing.T) {
...
@@ -200,7 +199,7 @@ func TestXAttrRead(t *testing.T) {
sysRemovexattr
(
mounted
,
"third"
)
sysRemovexattr
(
mounted
,
"third"
)
val
,
err
=
readXAttr
(
mounted
,
"third"
)
val
,
err
=
readXAttr
(
mounted
,
"third"
)
if
err
!=
syscall
.
ENOATTR
{
if
fuse
.
ToStatus
(
err
)
!=
fuse
.
ENOATTR
{
t
.
Error
(
"Data not removed?"
,
err
,
val
)
t
.
Error
(
"Data not removed?"
,
err
,
val
)
}
}
}
}
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