aboutsummaryrefslogtreecommitdiff
path: root/tests/xattr/xattr_integration_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'tests/xattr/xattr_integration_test.go')
-rw-r--r--tests/xattr/xattr_integration_test.go6
1 files changed, 0 insertions, 6 deletions
diff --git a/tests/xattr/xattr_integration_test.go b/tests/xattr/xattr_integration_test.go
index 29c3e84..b091830 100644
--- a/tests/xattr/xattr_integration_test.go
+++ b/tests/xattr/xattr_integration_test.go
@@ -23,12 +23,6 @@ import (
)
func TestMain(m *testing.M) {
- // On modern Linux distributions, /tmp may be on tmpfs,
- // which does not support user xattrs. Try /var/tmp instead
- if !xattrSupported(test_helpers.TmpDir) && os.TempDir() == "/tmp" {
- fmt.Printf("Switching from /tmp to /var/tmp for xattr tests\n")
- test_helpers.SwitchTMPDIR("/var/tmp")
- }
if !xattrSupported(test_helpers.TmpDir) {
fmt.Printf("xattrs not supported on %q\n", test_helpers.TmpDir)
os.Exit(1)