Commit 7b832016 authored by Han-Wen Nienhuys's avatar Han-Wen Nienhuys

Add attr_test.go

parent 88b431df
package fuse
import (
"syscall"
"testing"
)
func TestFileMode(t *testing.T) {
sock := FileMode(syscall.S_IFSOCK)
if sock.IsDir() {
t.Error("Socket should not be directory")
}
}
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