libgocryptfs/internal/fusefrontend/xattr_linux_unit_test.go

14 lines
215 B
Go

// +build linux
package fusefrontend
import (
"testing"
)
func TestDisallowedLinuxAttributes(t *testing.T) {
if !disallowedXAttrName("xxxx") {
t.Fatalf("Names that don't start with 'user.' should fail")
}
}