12b32aa06c
* Fixed xattr filtering for MacOS. "system." and "user." prefixes are only relevant for Linux. * Small cleanup and additional tests.
14 lines
215 B
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")
|
|
}
|
|
}
|