Commit 0534f2ff authored by Han-Wen Nienhuys's avatar Han-Wen Nienhuys

Use fuse.ENOATTR rather than syscall.ENOATTR.

parent 2aee071c
......@@ -11,7 +11,6 @@ import (
"io/ioutil"
"os"
"path/filepath"
"syscall"
"testing"
"github.com/hanwen/go-fuse/fuse"
......@@ -200,7 +199,7 @@ func TestXAttrRead(t *testing.T) {
sysRemovexattr(mounted, "third")
val, err = readXAttr(mounted, "third")
if err != syscall.ENOATTR {
if fuse.ToStatus(err) != fuse.ENOATTR {
t.Error("Data not removed?", err, val)
}
}
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment